Package org.drools.verifier.core.maps
Interface MultiMap<Key extends Comparable,Value,ListType extends List<Value>>
- All Known Implementing Classes:
ArrayMultiMap,RawMultiMap
public interface MultiMap<Key extends Comparable,Value,ListType extends List<Value>>
-
Method Summary
Modifier and TypeMethodDescriptionbooleanaddAllValues(Key value, Collection<Value> values) voidaddChangeListener(MultiMapChangeHandler<Key, Value> multiMapChangeHandler) voidclear()booleancontainsKey(Key value) firstKey()booleanisEmpty()keySet()lastKey()static <Key extends Comparable,V, ListType extends List<V>>
MultiMap<Key,V, ListType> Merges the second MultiMap into the first.voidbooleanvoidputAllValues(Key key, Collection<Value> collection) voidremoveValue(Key key, Value value) intsize()
-
Method Details
-
merge
static <Key extends Comparable,V, MultiMap<Key,ListType extends List<V>> V, mergeListType> (MultiMap<Key, V, ListType> first, MultiMap<Key, V, ListType> second) Merges the second MultiMap into the first. -
put
-
size
int size() -
move
-
keySet
-
get
-
addAllValues
-
remove
-
isEmpty
boolean isEmpty() -
addChangeListener
-
allValues
Collection<Value> allValues() -
containsKey
-
firstKey
Key firstKey() -
lastKey
Key lastKey() -
subMap
-
removeValue
-
clear
void clear() -
putAllValues
-