K - the first value.V - the second value.public class SingleValueMapper<K,V> extends Object
| Constructor and Description |
|---|
SingleValueMapper() |
| Modifier and Type | Method and Description |
|---|---|
V |
get(K k)
Gets the value corresponding to the specified key.
|
K |
getValue(V v)
Gets the key corresponding to the specified value.
|
void |
put(K k,
V v)
Store a mapping of key to value.
|
V |
remove(K k)
Removes the named key from the map.
|
public V get(K k)
k - The key to fetch a value for. May not be null.public K getValue(V v)
v - The value to get the key for. May not be null.public void put(K k, V v)
k - The key to map against the value. May not be null.v - The value to map against the key. May not be null.Copyright © 2010–2023 Open Identity Platform Community. All rights reserved.