Package org.drools.verifier.core.maps
Class ArrayMultiMap<Key extends java.lang.Comparable,Value>
- java.lang.Object
-
- org.drools.verifier.core.maps.RawMultiMap<Key,Value,java.util.ArrayList<Value>>
-
- org.drools.verifier.core.maps.ArrayMultiMap<Key,Value>
-
- All Implemented Interfaces:
MultiMap<Key,Value,java.util.ArrayList<Value>>
public class ArrayMultiMap<Key extends java.lang.Comparable,Value> extends RawMultiMap<Key,Value,java.util.ArrayList<Value>> implements MultiMap<Key,Value,java.util.ArrayList<Value>>
-
-
Field Summary
-
Fields inherited from class org.drools.verifier.core.maps.RawMultiMap
map
-
-
Constructor Summary
Constructors Modifier Constructor Description ArrayMultiMap()protectedArrayMultiMap(java.util.SortedMap<Key,java.util.ArrayList<Value>> map)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddChangeListener(MultiMapChangeHandler<Key,Value> multiMapChangeHandler)ArrayMultiMap<Key,Value>subMap(Key fromKey, boolean fromInclusive, Key toKey, boolean toInclusive)-
Methods inherited from class org.drools.verifier.core.maps.RawMultiMap
addAllValues, allValues, clear, containsKey, firstKey, get, isEmpty, keySet, lastKey, move, put, put, putAllValues, remove, removeValue, size
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.drools.verifier.core.maps.MultiMap
addAllValues, allValues, clear, containsKey, firstKey, get, isEmpty, keySet, lastKey, move, put, putAllValues, remove, removeValue, size
-
-
-
-
Method Detail
-
addChangeListener
public void addChangeListener(MultiMapChangeHandler<Key,Value> multiMapChangeHandler)
- Specified by:
addChangeListenerin interfaceMultiMap<Key extends java.lang.Comparable,Value,java.util.ArrayList<Value>>- Overrides:
addChangeListenerin classRawMultiMap<Key extends java.lang.Comparable,Value,java.util.ArrayList<Value>>
-
subMap
public ArrayMultiMap<Key,Value> subMap(Key fromKey, boolean fromInclusive, Key toKey, boolean toInclusive)
-
-