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