Function<K,java.lang.Character>, Object2CharFunction<K>, java.util.function.Function<K,java.lang.Character>, java.util.function.ToIntFunction<K>public static class Object2CharFunctions.PrimitiveFunction<K> extends java.lang.Object implements Object2CharFunction<K>
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
containsKey(java.lang.Object key) |
Returns true if this function contains a mapping for the specified key.
|
java.lang.Character |
get(java.lang.Object key) |
Deprecated.
|
char |
getChar(java.lang.Object key) |
Returns the value to which the given key is mapped.
|
java.lang.Character |
put(K key,
java.lang.Character value) |
Deprecated.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitapplyAsInt, defaultReturnValue, defaultReturnValue, put, remove, removeCharpublic boolean containsKey(java.lang.Object key)
FunctionNote that for some kind of functions (e.g., hashes) this method will always return true. This default implementation, in particular, always return true.
containsKey in interface Function<K,java.lang.Character>key - the key.key.Map.containsKey(Object)public char getChar(java.lang.Object key)
Object2CharFunctiongetChar in interface Object2CharFunction<K>key - the key.Function.get(Object)@Deprecated public java.lang.Character get(java.lang.Object key)
Object2CharFunction@Deprecated public java.lang.Character put(K key, java.lang.Character value)
Object2CharFunction