K
- The type of the key.V
- The type of the value which relates to a key.public interface Keys<K,V>
Modifier and Type | Interface and Description |
---|---|
static interface |
Keys.ClearableKeys<K,V>
|
static interface |
Keys.MutableKeys<K,V>
Adds mutable functionality to the
Keys interface. |
Modifier and Type | Method and Description |
---|---|
boolean |
containsKey(K aKey)
Tests whether there is an element with the given key.
|
V |
get(K aKey)
Retrieves the element assigned to the given key.
|
Set<K> |
keySet()
Retrieves a collection containing all the keys found in the elements of
this collection.
|
Collection<V> |
values()
Returns a
Collection view of the values related to the contained
keys. |
boolean containsKey(K aKey)
aKey
- The key for which to test whether there is an element.V get(K aKey)
aKey
- The key for which to get the element.Set<K> keySet()
Collection<V> values()
Collection
view of the values related to the contained
keys.Collection
view of the values related to the contained
keys.Copyright © 2017. All rights reserved.