K - the type of keys maintained by this storage wrapper.V - the type of mapped values.public interface StorageWrapper<K,V>
extends java.util.Map<K,V>
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<K,V> |
fillMap(java.util.Map<K,V> toFill)
Fills the parameter map with contents of this map and returns it.
|
java.util.Collection<K> |
keys()
Returns the collection with all keys.
|
void |
putAll(StorageWrapper<? extends K,? extends V> anotherWrapper)
Puts all data from another wrapper into this wrapper.
|
java.util.Map<K,V> |
toMap()
Creates a new map and fill it with the content of this map.
|
void putAll(StorageWrapper<? extends K,? extends V> anotherWrapper)
anotherWrapper - java.util.Collection<K> keys()
java.util.Map<K,V> toMap()
Copyright © 2010-2020 anotheria.net. All Rights Reserved.