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