Package org.drools.verifier.core.maps
Class RawMultiMap<Key extends Comparable,Value,ListType extends List<Value>>
java.lang.Object
org.drools.verifier.core.maps.RawMultiMap<Key,Value,ListType>
- All Implemented Interfaces:
MultiMap<Key,Value, ListType>
- Direct Known Subclasses:
ArrayMultiMap
public class RawMultiMap<Key extends Comparable,Value,ListType extends List<Value>>
extends Object
implements MultiMap<Key,Value,ListType>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedRawMultiMap(SortedMap<Key, ListType> map, NewSubMapProvider<Value, ListType> newSubMapProvider) RawMultiMap(NewSubMapProvider<Value, ListType> newSubMapProvider) -
Method Summary
Modifier and TypeMethodDescriptionbooleanaddAllValues(Key key, Collection<Value> values) voidaddChangeListener(MultiMapChangeHandler<Key, Value> multiMapChangeHandler) voidclear()booleancontainsKey(Key key) firstKey()booleanisEmpty()keySet()lastKey()voidvoidbooleanvoidputAllValues(Key key, Collection<Value> values) voidremoveValue(Key key, Value value) intsize()
-
Field Details
-
map
-
-
Constructor Details
-
RawMultiMap
-
RawMultiMap
-
-
Method Details
-
isEmpty
public boolean isEmpty() -
containsKey
- Specified by:
containsKeyin interfaceMultiMap<Key extends Comparable,Value, ListType extends List<Value>>
-
put
-
put
-
move
-
get
-
addAllValues
- Specified by:
addAllValuesin interfaceMultiMap<Key extends Comparable,Value, ListType extends List<Value>>
-
addChangeListener
- Specified by:
addChangeListenerin interfaceMultiMap<Key extends Comparable,Value, ListType extends List<Value>>
-
remove
-
size
public int size() -
keySet
-
allValues
-
lastKey
-
subMap
-
removeValue
- Specified by:
removeValuein interfaceMultiMap<Key extends Comparable,Value, ListType extends List<Value>>
-
firstKey
-
clear
public void clear() -
putAllValues
- Specified by:
putAllValuesin interfaceMultiMap<Key extends Comparable,Value, ListType extends List<Value>>
-