public static class Byte2IntFunctions.PrimitiveFunction
extends java.lang.Object
implements it.unimi.dsi.fastutil.bytes.Byte2IntFunction
| Modifier and Type | Field and Description |
|---|---|
protected java.util.function.Function<? super java.lang.Byte,? extends java.lang.Integer> |
function |
| Modifier | Constructor and Description |
|---|---|
protected |
PrimitiveFunction(java.util.function.Function<? super java.lang.Byte,? extends java.lang.Integer> function) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsKey(byte key) |
boolean |
containsKey(java.lang.Object key)
Deprecated.
|
int |
get(byte key) |
java.lang.Integer |
get(java.lang.Object key)
Deprecated.
|
int |
getOrDefault(byte key,
int defaultValue) |
java.lang.Integer |
getOrDefault(java.lang.Object key,
java.lang.Integer defaultValue)
Deprecated.
|
java.lang.Integer |
put(java.lang.Byte 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, put, remove, removeprotected final java.util.function.Function<? super java.lang.Byte,? extends java.lang.Integer> function
protected PrimitiveFunction(java.util.function.Function<? super java.lang.Byte,? extends java.lang.Integer> function)
public boolean containsKey(byte key)
containsKey in interface it.unimi.dsi.fastutil.bytes.Byte2IntFunction@Deprecated public boolean containsKey(java.lang.Object key)
containsKey in interface it.unimi.dsi.fastutil.bytes.Byte2IntFunctionpublic int get(byte key)
get in interface it.unimi.dsi.fastutil.bytes.Byte2IntFunctionpublic int getOrDefault(byte key,
int defaultValue)
getOrDefault in interface it.unimi.dsi.fastutil.bytes.Byte2IntFunction@Deprecated public java.lang.Integer get(java.lang.Object key)
get in interface it.unimi.dsi.fastutil.bytes.Byte2IntFunction@Deprecated
public java.lang.Integer getOrDefault(java.lang.Object key,
java.lang.Integer defaultValue)
getOrDefault in interface it.unimi.dsi.fastutil.bytes.Byte2IntFunction@Deprecated
public java.lang.Integer put(java.lang.Byte key,
java.lang.Integer value)
put in interface it.unimi.dsi.fastutil.bytes.Byte2IntFunction