K - Generic key parameterV - Generic value parameter
Note: will be removed in next version.@Deprecated public class DefaultKeySetMap<K,V> extends Object implements KeySetMap<K,V>
| Constructor and Description |
|---|
DefaultKeySetMap()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(K key,
V value)
Deprecated.
Adds the value in the Set from the key.
|
void |
add(Map<? extends K,? extends Set<V>> keyListMap)
Deprecated.
Adds a Map to the main Map.
|
boolean |
containsKey(K key)
Deprecated.
Contains key.
|
Set<V> |
get(K key)
Deprecated.
Gets the Set with the values from the given key.
|
Set<K> |
getKeys()
Deprecated.
Gets the keys.
|
int |
getSize()
Deprecated.
Gets the size.
|
boolean |
isEmpty()
Deprecated.
Checks if is empty.
|
Set<V> |
remove(K key)
Deprecated.
Removes the Set from the given key.
|
void |
removeAll(Collection<K> keys)
Deprecated.
Removes all keys from the Map from the given Collection.
|
public void add(K key, V value)
add in interface KeySetMap<K,V>key - the keyvalue - the valueKeySetMap.add(Object, Object)public void add(Map<? extends K,? extends Set<V>> keyListMap)
add in interface KeySetMap<K,V>keyListMap - the key list mapKeySetMap.add(java.util.Map)public boolean containsKey(K key)
containsKey in interface KeySetMap<K,V>key - the keyKeySetMap.containsKey(Object)public Set<V> get(K key)
get in interface KeySetMap<K,V>key - the keyKeySetMap.get(Object)public Set<K> getKeys()
getKeys in interface KeySetMap<K,V>KeySetMap.getKeys()public int getSize()
getSize in interface KeySetMap<K,V>KeySetMap.getSize()public boolean isEmpty()
isEmpty in interface KeySetMap<K,V>KeySetMap.isEmpty()public Set<V> remove(K key)
remove in interface KeySetMap<K,V>key - the keyKeySetMap.remove(Object)public void removeAll(Collection<K> keys)
removeAll in interface KeySetMap<K,V>keys - the keysKeySetMap.removeAll(java.util.Collection)Copyright © 2007–2015 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.