66 |
|
|
67 |
|
|
68 |
// --- implement VobMatcher |
// --- implement VobMatcher |
69 |
public void add(int cs, Object key) { |
public int add(int cs, Object key) { |
70 |
addSub(0, cs, key); |
addSub(0, cs, key); |
71 |
|
return cs; |
72 |
} |
} |
73 |
public void addSub(int into, int cs, Object key) { |
public int addSub(int into, int cs, Object key) { |
74 |
ensure(cs); |
ensure(cs); |
75 |
if(key == null) key = NULL; |
if(key == null) key = NULL; |
76 |
keyByCs[cs] = new Key(key, into); |
keyByCs[cs] = new Key(key, into); |
77 |
csByKey.put(keyByCs[cs], new Integer(cs)); |
csByKey.put(keyByCs[cs], new Integer(cs)); |
78 |
|
return cs; |
79 |
} |
} |
80 |
|
|
81 |
protected int getCSByKeyObject(Key key) { |
protected int getCSByKeyObject(Key key) { |