public static class Char2ShortFunctions.SynchronizedFunction
extends java.lang.Object
implements it.unimi.dsi.fastutil.chars.Char2ShortFunction, java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
protected it.unimi.dsi.fastutil.chars.Char2ShortFunction |
function |
protected java.lang.Object |
sync |
| Modifier | Constructor and Description |
|---|---|
protected |
SynchronizedFunction(it.unimi.dsi.fastutil.chars.Char2ShortFunction f) |
protected |
SynchronizedFunction(it.unimi.dsi.fastutil.chars.Char2ShortFunction f,
java.lang.Object sync) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Short |
apply(java.lang.Character key)
Deprecated.
Please use the corresponding type-specific method instead.
|
int |
applyAsInt(int operand)
Deprecated.
Please use the corresponding type-specific method instead.
|
void |
clear() |
boolean |
containsKey(char k) |
boolean |
containsKey(java.lang.Object k)
Deprecated.
|
short |
defaultReturnValue() |
void |
defaultReturnValue(short defRetValue) |
boolean |
equals(java.lang.Object o) |
short |
get(char k) |
java.lang.Short |
get(java.lang.Object k)
Deprecated.
Please use the corresponding type-specific method instead.
|
short |
getOrDefault(char 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() |
java.lang.Short |
put(java.lang.Character k,
java.lang.Short v)
Deprecated.
Please use the corresponding type-specific method instead.
|
short |
put(char k,
short v) |
short |
remove(char 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, compose, composeByte, composeChar, composeDouble, composeFloat, composeInt, composeLong, composeObject, composeReference, composeShortprotected final it.unimi.dsi.fastutil.chars.Char2ShortFunction function
protected final java.lang.Object sync
protected SynchronizedFunction(it.unimi.dsi.fastutil.chars.Char2ShortFunction f,
java.lang.Object sync)
protected SynchronizedFunction(it.unimi.dsi.fastutil.chars.Char2ShortFunction f)
@Deprecated public int applyAsInt(int operand)
applyAsInt in interface it.unimi.dsi.fastutil.chars.Char2ShortFunctionapplyAsInt in interface java.util.function.IntUnaryOperator@Deprecated public java.lang.Short apply(java.lang.Character key)
apply in interface java.util.function.Function<java.lang.Character,java.lang.Short>public int size()
public short defaultReturnValue()
defaultReturnValue in interface it.unimi.dsi.fastutil.chars.Char2ShortFunctionpublic void defaultReturnValue(short defRetValue)
defaultReturnValue in interface it.unimi.dsi.fastutil.chars.Char2ShortFunctionpublic boolean containsKey(char k)
containsKey in interface it.unimi.dsi.fastutil.chars.Char2ShortFunction@Deprecated public boolean containsKey(java.lang.Object k)
containsKey in interface it.unimi.dsi.fastutil.chars.Char2ShortFunctionpublic short put(char k,
short v)
put in interface it.unimi.dsi.fastutil.chars.Char2ShortFunctionpublic short get(char k)
get in interface it.unimi.dsi.fastutil.chars.Char2ShortFunctionpublic short getOrDefault(char k,
short defaultValue)
getOrDefault in interface it.unimi.dsi.fastutil.chars.Char2ShortFunctionpublic short remove(char k)
remove in interface it.unimi.dsi.fastutil.chars.Char2ShortFunctionpublic void clear()
@Deprecated
public java.lang.Short put(java.lang.Character k,
java.lang.Short v)
put in interface it.unimi.dsi.fastutil.chars.Char2ShortFunction@Deprecated public java.lang.Short get(java.lang.Object k)
get in interface it.unimi.dsi.fastutil.chars.Char2ShortFunction@Deprecated
public java.lang.Short getOrDefault(java.lang.Object k,
java.lang.Short defaultValue)
getOrDefault in interface it.unimi.dsi.fastutil.chars.Char2ShortFunction@Deprecated public java.lang.Short remove(java.lang.Object k)
remove in interface it.unimi.dsi.fastutil.chars.Char2ShortFunctionpublic 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