public static class Int2CharFunctions.SynchronizedFunction
extends java.lang.Object
implements it.unimi.dsi.fastutil.ints.Int2CharFunction, java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
protected it.unimi.dsi.fastutil.ints.Int2CharFunction |
function |
protected java.lang.Object |
sync |
| Modifier | Constructor and Description |
|---|---|
protected |
SynchronizedFunction(it.unimi.dsi.fastutil.ints.Int2CharFunction f) |
protected |
SynchronizedFunction(it.unimi.dsi.fastutil.ints.Int2CharFunction f,
java.lang.Object sync) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Character |
apply(java.lang.Integer key)
Deprecated.
Please use the corresponding type-specific method instead.
|
int |
applyAsInt(int operand) |
void |
clear() |
boolean |
containsKey(int k) |
boolean |
containsKey(java.lang.Object k)
Deprecated.
|
char |
defaultReturnValue() |
void |
defaultReturnValue(char defRetValue) |
boolean |
equals(java.lang.Object o) |
char |
get(int k) |
java.lang.Character |
get(java.lang.Object k)
Deprecated.
Please use the corresponding type-specific method instead.
|
char |
getOrDefault(int k,
char defaultValue) |
java.lang.Character |
getOrDefault(java.lang.Object k,
java.lang.Character defaultValue)
Deprecated.
Please use the corresponding type-specific method instead.
|
int |
hashCode() |
char |
put(int k,
char v) |
java.lang.Character |
put(java.lang.Integer k,
java.lang.Character v)
Deprecated.
Please use the corresponding type-specific method instead.
|
char |
remove(int k) |
java.lang.Character |
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.ints.Int2CharFunction function
protected final java.lang.Object sync
protected SynchronizedFunction(it.unimi.dsi.fastutil.ints.Int2CharFunction f,
java.lang.Object sync)
protected SynchronizedFunction(it.unimi.dsi.fastutil.ints.Int2CharFunction f)
public int applyAsInt(int operand)
applyAsInt in interface it.unimi.dsi.fastutil.ints.Int2CharFunctionapplyAsInt in interface java.util.function.IntUnaryOperator@Deprecated public java.lang.Character apply(java.lang.Integer key)
apply in interface java.util.function.Function<java.lang.Integer,java.lang.Character>public int size()
public char defaultReturnValue()
defaultReturnValue in interface it.unimi.dsi.fastutil.ints.Int2CharFunctionpublic void defaultReturnValue(char defRetValue)
defaultReturnValue in interface it.unimi.dsi.fastutil.ints.Int2CharFunctionpublic boolean containsKey(int k)
containsKey in interface it.unimi.dsi.fastutil.ints.Int2CharFunction@Deprecated public boolean containsKey(java.lang.Object k)
containsKey in interface it.unimi.dsi.fastutil.ints.Int2CharFunctionpublic char put(int k,
char v)
put in interface it.unimi.dsi.fastutil.ints.Int2CharFunctionpublic char get(int k)
get in interface it.unimi.dsi.fastutil.ints.Int2CharFunctionpublic char getOrDefault(int k,
char defaultValue)
getOrDefault in interface it.unimi.dsi.fastutil.ints.Int2CharFunctionpublic char remove(int k)
remove in interface it.unimi.dsi.fastutil.ints.Int2CharFunctionpublic void clear()
@Deprecated
public java.lang.Character put(java.lang.Integer k,
java.lang.Character v)
put in interface it.unimi.dsi.fastutil.ints.Int2CharFunction@Deprecated public java.lang.Character get(java.lang.Object k)
get in interface it.unimi.dsi.fastutil.ints.Int2CharFunction@Deprecated
public java.lang.Character getOrDefault(java.lang.Object k,
java.lang.Character defaultValue)
getOrDefault in interface it.unimi.dsi.fastutil.ints.Int2CharFunction@Deprecated public java.lang.Character remove(java.lang.Object k)
remove in interface it.unimi.dsi.fastutil.ints.Int2CharFunctionpublic 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