Package org.drools.core.util.index
Class RangeIndex<K extends Comparable,V>
- java.lang.Object
-
- org.drools.core.util.index.RangeIndex<K,V>
-
- All Implemented Interfaces:
Serializable
public class RangeIndex<K extends Comparable,V> extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRangeIndex.IndexType
-
Constructor Summary
Constructors Constructor Description RangeIndex()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VaddIndex(RangeIndex.IndexType indexType, K key, V value)Collection<V>getAllValues()Collection<V>getValues(K key)voidremoveIndex(RangeIndex.IndexType indexType, K key)
-
-
-
Method Detail
-
addIndex
public V addIndex(RangeIndex.IndexType indexType, K key, V value)
-
removeIndex
public void removeIndex(RangeIndex.IndexType indexType, K key)
-
getValues
public Collection<V> getValues(K key)
-
getAllValues
public Collection<V> getAllValues()
-
-