Package | Description |
---|---|
be.SIRAPRISE.util |
This package contains various utility methods.
|
Modifier and Type | Method and Description |
---|---|
static <K,V> java.util.Map<K,V> |
MyMap.union(java.util.Map<K,V> map1,
java.util.Map<K,V> map2)
Returns a Map that holds all the entries that appear either in map1 or map2
|
static <K,V> java.util.Map<K,V> |
MyMap.union(java.util.Map<K,V> map1,
java.util.Map<K,V> map2,
java.lang.Class<? extends java.util.Map<K,V>> resultClass)
Returns a Map that holds all the entries that appear either in map1 or map2
|
static <K,V> void |
MyMap.unionIntoMap(java.util.Map<K,V> map1,
java.util.Map<K,V> map2,
java.util.Map<? super K,? super V> result)
Puts all entries that appear either in map1 or map2 in the result map.
|