public static class Int2ObjectFunctions.PrimitiveFunction<V>
extends java.lang.Object
implements it.unimi.dsi.fastutil.ints.Int2ObjectFunction<V>
| Modifier and Type | Field and Description |
|---|---|
protected java.util.function.Function<? super java.lang.Integer,? extends V> |
function |
| Modifier | Constructor and Description |
|---|---|
protected |
PrimitiveFunction(java.util.function.Function<? super java.lang.Integer,? extends V> function) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsKey(int key) |
boolean |
containsKey(java.lang.Object key)
Deprecated.
|
V |
get(int key) |
V |
get(java.lang.Object key)
Deprecated.
|
V |
getOrDefault(int key,
V defaultValue) |
V |
getOrDefault(java.lang.Object key,
V defaultValue)
Deprecated.
|
V |
put(java.lang.Integer key,
V value)
Deprecated.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitandThenByte, andThenChar, andThenDouble, andThenFloat, andThenInt, andThenLong, andThenObject, andThenReference, andThenShort, apply, compose, composeByte, composeChar, composeDouble, composeFloat, composeInt, composeLong, composeObject, composeReference, composeShort, defaultReturnValue, defaultReturnValue, put, remove, removeprotected final java.util.function.Function<? super java.lang.Integer,? extends V> function
protected PrimitiveFunction(java.util.function.Function<? super java.lang.Integer,? extends V> function)
public boolean containsKey(int key)
containsKey in interface it.unimi.dsi.fastutil.ints.Int2ObjectFunction<V>@Deprecated public boolean containsKey(java.lang.Object key)
containsKey in interface it.unimi.dsi.fastutil.ints.Int2ObjectFunction<V>public V get(int key)
get in interface it.unimi.dsi.fastutil.ints.Int2ObjectFunction<V>public V getOrDefault(int key, V defaultValue)
getOrDefault in interface it.unimi.dsi.fastutil.ints.Int2ObjectFunction<V>@Deprecated public V get(java.lang.Object key)
get in interface it.unimi.dsi.fastutil.ints.Int2ObjectFunction<V>@Deprecated public V getOrDefault(java.lang.Object key, V defaultValue)
getOrDefault in interface it.unimi.dsi.fastutil.ints.Int2ObjectFunction<V>