public static class Long2ShortFunctions.PrimitiveFunction
extends java.lang.Object
implements it.unimi.dsi.fastutil.longs.Long2ShortFunction
| Modifier and Type | Field and Description |
|---|---|
protected java.util.function.Function<? super java.lang.Long,? extends java.lang.Short> |
function |
| Modifier | Constructor and Description |
|---|---|
protected |
PrimitiveFunction(java.util.function.Function<? super java.lang.Long,? extends java.lang.Short> function) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsKey(long key) |
boolean |
containsKey(java.lang.Object key)
Deprecated.
|
short |
get(long key) |
java.lang.Short |
get(java.lang.Object key)
Deprecated.
|
short |
getOrDefault(long key,
short defaultValue) |
java.lang.Short |
getOrDefault(java.lang.Object key,
java.lang.Short defaultValue)
Deprecated.
|
java.lang.Short |
put(java.lang.Long 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, compose, composeByte, composeChar, composeDouble, composeFloat, composeInt, composeLong, composeObject, composeReference, composeShort, defaultReturnValue, defaultReturnValue, put, remove, removeprotected final java.util.function.Function<? super java.lang.Long,? extends java.lang.Short> function
protected PrimitiveFunction(java.util.function.Function<? super java.lang.Long,? extends java.lang.Short> function)
public boolean containsKey(long key)
containsKey in interface it.unimi.dsi.fastutil.longs.Long2ShortFunction@Deprecated public boolean containsKey(java.lang.Object key)
containsKey in interface it.unimi.dsi.fastutil.longs.Long2ShortFunctionpublic short get(long key)
get in interface it.unimi.dsi.fastutil.longs.Long2ShortFunctionpublic short getOrDefault(long key,
short defaultValue)
getOrDefault in interface it.unimi.dsi.fastutil.longs.Long2ShortFunction@Deprecated public java.lang.Short get(java.lang.Object key)
get in interface it.unimi.dsi.fastutil.longs.Long2ShortFunction@Deprecated
public java.lang.Short getOrDefault(java.lang.Object key,
java.lang.Short defaultValue)
getOrDefault in interface it.unimi.dsi.fastutil.longs.Long2ShortFunction@Deprecated
public java.lang.Short put(java.lang.Long key,
java.lang.Short value)
put in interface it.unimi.dsi.fastutil.longs.Long2ShortFunction