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