public static class Reference2ShortFunctions.PrimitiveFunction<K>
extends java.lang.Object
implements it.unimi.dsi.fastutil.objects.Reference2ShortFunction<K>
| Modifier and Type | Field and Description |
|---|---|
protected java.util.function.Function<? super K,? extends java.lang.Short> |
function |
| Modifier | Constructor and Description |
|---|---|
protected |
PrimitiveFunction(java.util.function.Function<? super K,? extends java.lang.Short> function) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsKey(java.lang.Object key) |
java.lang.Short |
get(java.lang.Object key)
Deprecated.
|
short |
getOrDefault(java.lang.Object key,
short defaultValue) |
java.lang.Short |
getOrDefault(java.lang.Object key,
java.lang.Short defaultValue)
Deprecated.
|
short |
getShort(java.lang.Object key) |
java.lang.Short |
put(K key,
java.lang.Short value)
Deprecated.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitandThen, andThenByte, andThenChar, andThenDouble, andThenFloat, andThenInt, andThenLong, andThenObject, andThenReference, andThenShort, applyAsInt, composeByte, composeChar, composeDouble, composeFloat, composeInt, composeLong, composeObject, composeReference, composeShort, defaultReturnValue, defaultReturnValue, put, remove, removeShortprotected final java.util.function.Function<? super K,? extends java.lang.Short> function
protected PrimitiveFunction(java.util.function.Function<? super K,? extends java.lang.Short> function)
public boolean containsKey(java.lang.Object key)
public short getShort(java.lang.Object key)
getShort in interface it.unimi.dsi.fastutil.objects.Reference2ShortFunction<K>public short getOrDefault(java.lang.Object key,
short defaultValue)
getOrDefault in interface it.unimi.dsi.fastutil.objects.Reference2ShortFunction<K>@Deprecated public java.lang.Short get(java.lang.Object key)
get in interface it.unimi.dsi.fastutil.objects.Reference2ShortFunction<K>@Deprecated
public java.lang.Short getOrDefault(java.lang.Object key,
java.lang.Short defaultValue)
getOrDefault in interface it.unimi.dsi.fastutil.objects.Reference2ShortFunction<K>