|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
K - the type of keysV - the type of valuespublic interface MapGenotype<K,V>
The MapGenotype extends a Genotype with
Map functionalities.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
java.util.Collection<K> getKeys()
V getValue(K key)
key - the key
setValue(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 key
true if the key is containedint getIndexOf(K key)
key - the key
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||