public static class Object2IntFunctions.PrimitiveFunction<K>
extends java.lang.Object
implements it.unimi.dsi.fastutil.objects.Object2IntFunction<K>
| Modifier and Type | Field and Description |
|---|---|
protected java.util.function.Function<? super K,? extends java.lang.Integer> |
function |
| Modifier | Constructor and Description |
|---|---|
protected |
PrimitiveFunction(java.util.function.Function<? super K,? extends java.lang.Integer> function) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsKey(java.lang.Object key) |
java.lang.Integer |
get(java.lang.Object key)
Deprecated.
|
int |
getInt(java.lang.Object key) |
int |
getOrDefault(java.lang.Object key,
int defaultValue) |
java.lang.Integer |
getOrDefault(java.lang.Object key,
java.lang.Integer defaultValue)
Deprecated.
|
java.lang.Integer |
put(K key,
java.lang.Integer 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, removeIntprotected final java.util.function.Function<? super K,? extends java.lang.Integer> function
protected PrimitiveFunction(java.util.function.Function<? super K,? extends java.lang.Integer> function)
public boolean containsKey(java.lang.Object key)
public int getInt(java.lang.Object key)
getInt in interface it.unimi.dsi.fastutil.objects.Object2IntFunction<K>public int getOrDefault(java.lang.Object key,
int defaultValue)
getOrDefault in interface it.unimi.dsi.fastutil.objects.Object2IntFunction<K>@Deprecated public java.lang.Integer get(java.lang.Object key)
get in interface it.unimi.dsi.fastutil.objects.Object2IntFunction<K>@Deprecated
public java.lang.Integer getOrDefault(java.lang.Object key,
java.lang.Integer defaultValue)
getOrDefault in interface it.unimi.dsi.fastutil.objects.Object2IntFunction<K>