@Deprecated public class ChainedIndex<K,E> extends Object implements LookupIndexIF<K,E>
get(key) returns the first non-null value returned from a getter.
put(key) removes the key from all putters.
remove(key) removes the key from all removers.
Modifier and Type | Field and Description |
---|---|
protected LookupIndexIF<K,E>[] |
getters
Deprecated.
|
protected int |
gsize
Deprecated.
|
protected E |
missvalue
Deprecated.
|
protected int |
psize
Deprecated.
|
protected LookupIndexIF<K,E>[] |
putters
Deprecated.
|
protected LookupIndexIF<K,E>[] |
removers
Deprecated.
|
protected int |
rsize
Deprecated.
|
Constructor and Description |
---|
ChainedIndex(LookupIndexIF<K,E>[] chain)
Deprecated.
|
ChainedIndex(LookupIndexIF<K,E>[] getters,
LookupIndexIF<K,E> setter)
Deprecated.
|
ChainedIndex(LookupIndexIF<K,E>[] getters,
LookupIndexIF<K,E>[] setters)
Deprecated.
|
ChainedIndex(LookupIndexIF<K,E>[] getters,
LookupIndexIF<K,E>[] putters,
LookupIndexIF<K,E>[] removers)
Deprecated.
|
ChainedIndex(LookupIndexIF<K,E> getter,
LookupIndexIF<K,E>[] setters)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
E |
get(K key)
Deprecated.
|
Object |
getMissValue()
Deprecated.
INTERNAL: Gets the missvalue member, which is used to decide
whether an index lookup missed or not.
|
E |
put(K key,
E value)
Deprecated.
|
E |
remove(K key)
Deprecated.
|
void |
setMissValue(E missvalue)
Deprecated.
INTERNAL: Sets the missvalue member, which is used to decide
whether an index lookup missed or not.
|
protected LookupIndexIF<K,E>[] getters
protected LookupIndexIF<K,E>[] putters
protected LookupIndexIF<K,E>[] removers
protected int gsize
protected int psize
protected int rsize
protected E missvalue
public ChainedIndex(LookupIndexIF<K,E>[] chain)
public ChainedIndex(LookupIndexIF<K,E>[] getters, LookupIndexIF<K,E>[] setters)
public ChainedIndex(LookupIndexIF<K,E> getter, LookupIndexIF<K,E>[] setters)
public ChainedIndex(LookupIndexIF<K,E>[] getters, LookupIndexIF<K,E> setter)
public ChainedIndex(LookupIndexIF<K,E>[] getters, LookupIndexIF<K,E>[] putters, LookupIndexIF<K,E>[] removers)
public Object getMissValue()
public void setMissValue(E missvalue)