public static class Byte2ShortFunctions.UnmodifiableFunction extends AbstractByte2ShortFunction implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
protected it.unimi.dsi.fastutil.bytes.Byte2ShortFunction |
function |
defRetValue| Modifier | Constructor and Description |
|---|---|
protected |
UnmodifiableFunction(it.unimi.dsi.fastutil.bytes.Byte2ShortFunction f) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
boolean |
containsKey(byte k) |
short |
defaultReturnValue() |
void |
defaultReturnValue(short defRetValue) |
boolean |
equals(java.lang.Object o) |
short |
get(byte k) |
java.lang.Short |
get(java.lang.Object k)
Deprecated.
Please use the corresponding type-specific method instead.
|
short |
getOrDefault(byte k,
short defaultValue) |
java.lang.Short |
getOrDefault(java.lang.Object k,
java.lang.Short defaultValue)
Deprecated.
Please use the corresponding type-specific method instead.
|
int |
hashCode() |
short |
put(byte k,
short v) |
java.lang.Short |
put(java.lang.Byte k,
java.lang.Short v)
Deprecated.
Please use the corresponding type-specific method instead.
|
short |
remove(byte k) |
java.lang.Short |
remove(java.lang.Object k)
Deprecated.
Please use the corresponding type-specific method instead.
|
int |
size() |
java.lang.String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitandThen, andThenByte, andThenChar, andThenDouble, andThenFloat, andThenInt, andThenLong, andThenObject, andThenReference, andThenShort, applyAsInt, compose, composeByte, composeChar, composeDouble, composeFloat, composeInt, composeLong, composeObject, composeReference, composeShort, containsKeyprotected UnmodifiableFunction(it.unimi.dsi.fastutil.bytes.Byte2ShortFunction f)
public int size()
public short defaultReturnValue()
defaultReturnValue in interface it.unimi.dsi.fastutil.bytes.Byte2ShortFunctiondefaultReturnValue in class AbstractByte2ShortFunctionpublic void defaultReturnValue(short defRetValue)
defaultReturnValue in interface it.unimi.dsi.fastutil.bytes.Byte2ShortFunctiondefaultReturnValue in class AbstractByte2ShortFunctionpublic boolean containsKey(byte k)
containsKey in interface it.unimi.dsi.fastutil.bytes.Byte2ShortFunctionpublic short put(byte k,
short v)
put in interface it.unimi.dsi.fastutil.bytes.Byte2ShortFunctionpublic short get(byte k)
get in interface it.unimi.dsi.fastutil.bytes.Byte2ShortFunctionpublic short getOrDefault(byte k,
short defaultValue)
getOrDefault in interface it.unimi.dsi.fastutil.bytes.Byte2ShortFunctionpublic short remove(byte k)
remove in interface it.unimi.dsi.fastutil.bytes.Byte2ShortFunctionpublic void clear()
@Deprecated
public java.lang.Short put(java.lang.Byte k,
java.lang.Short v)
put in interface it.unimi.dsi.fastutil.bytes.Byte2ShortFunction@Deprecated public java.lang.Short get(java.lang.Object k)
get in interface it.unimi.dsi.fastutil.bytes.Byte2ShortFunction@Deprecated
public java.lang.Short getOrDefault(java.lang.Object k,
java.lang.Short defaultValue)
getOrDefault in interface it.unimi.dsi.fastutil.bytes.Byte2ShortFunction@Deprecated public java.lang.Short remove(java.lang.Object k)
remove in interface it.unimi.dsi.fastutil.bytes.Byte2ShortFunctionpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object