K - the type of keysV - the type of valuespublic interface MapGenotype<K,V>
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsKey(K key)
Returns
true if the key is contained. |
int |
getIndexOf(K key)
Returns the index of the key.
|
java.util.Collection<K> |
getKeys()
Return all keys.
|
V |
getValue(K key)
Returns the value for the specified key.
|
void |
setValue(K key,
V value)
Sets the value for the specified key.
|
java.util.Collection<K> getKeys()
V getValue(K key)
key - the keysetValue(K, V)void setValue(K key, V value)
key - the keyvalue - the valuegetValue(K)boolean containsKey(K key)
true if the key is contained.key - the keytrue if the key is containedint getIndexOf(K key)
key - the key