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