K - the type of keys maintained by this storage wrapper.V - the type of mapped values.public interface StorageWrapper<K,V> extends Map<K,V>
| Modifier and Type | Method and Description |
|---|---|
Map<K,V> |
fillMap(Map<K,V> toFill)
Fills the parameter map with contents of this map and returns it.
|
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.
|
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 - Collection<K> keys()
Copyright © 2010-2017 anotheria.net. All Rights Reserved.