Package it.unimi.dsi.fastutil.longs
Class Long2CharFunctions.SynchronizedFunction
java.lang.Object
it.unimi.dsi.fastutil.longs.Long2CharFunctions.SynchronizedFunction
- All Implemented Interfaces:
it.unimi.dsi.fastutil.Function<Long,,Character> it.unimi.dsi.fastutil.longs.Long2CharFunction,Serializable,Function<Long,,Character> LongToIntFunction
- Direct Known Subclasses:
Long2CharMaps.SynchronizedMap
- Enclosing class:
Long2CharFunctions
public static class Long2CharFunctions.SynchronizedFunction
extends Object
implements it.unimi.dsi.fastutil.longs.Long2CharFunction, Serializable
A synchronized wrapper class for functions.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSynchronizedFunction(it.unimi.dsi.fastutil.longs.Long2CharFunction f) protectedSynchronizedFunction(it.unimi.dsi.fastutil.longs.Long2CharFunction f, Object sync) -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Please use the corresponding type-specific method instead.intapplyAsInt(long operand) voidclear()booleancontainsKey(long k) booleanDeprecated.charvoiddefaultReturnValue(char defRetValue) booleancharget(long k) Deprecated.Please use the corresponding type-specific method instead.chargetOrDefault(long k, char defaultValue) getOrDefault(Object k, Character defaultValue) Deprecated.Please use the corresponding type-specific method instead.inthashCode()charput(long k, char v) Deprecated.Please use the corresponding type-specific method instead.charremove(long k) Deprecated.Please use the corresponding type-specific method instead.intsize()toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface it.unimi.dsi.fastutil.longs.Long2CharFunction
andThen, andThenByte, andThenChar, andThenDouble, andThenFloat, andThenInt, andThenLong, andThenObject, andThenReference, andThenShort, compose, composeByte, composeChar, composeDouble, composeFloat, composeInt, composeLong, composeObject, composeReference, composeShort
-
Field Details
-
function
protected final it.unimi.dsi.fastutil.longs.Long2CharFunction function -
sync
-
-
Constructor Details
-
SynchronizedFunction
-
SynchronizedFunction
protected SynchronizedFunction(it.unimi.dsi.fastutil.longs.Long2CharFunction f)
-
-
Method Details
-
applyAsInt
public int applyAsInt(long operand) - Specified by:
applyAsIntin interfaceit.unimi.dsi.fastutil.longs.Long2CharFunction- Specified by:
applyAsIntin interfaceLongToIntFunction
-
apply
Deprecated.Please use the corresponding type-specific method instead. -
size
public int size() -
defaultReturnValue
public char defaultReturnValue()- Specified by:
defaultReturnValuein interfaceit.unimi.dsi.fastutil.longs.Long2CharFunction
-
defaultReturnValue
public void defaultReturnValue(char defRetValue) - Specified by:
defaultReturnValuein interfaceit.unimi.dsi.fastutil.longs.Long2CharFunction
-
containsKey
public boolean containsKey(long k) - Specified by:
containsKeyin interfaceit.unimi.dsi.fastutil.longs.Long2CharFunction
-
containsKey
Deprecated. -
put
public char put(long k, char v) - Specified by:
putin interfaceit.unimi.dsi.fastutil.longs.Long2CharFunction
-
get
public char get(long k) - Specified by:
getin interfaceit.unimi.dsi.fastutil.longs.Long2CharFunction
-
getOrDefault
public char getOrDefault(long k, char defaultValue) - Specified by:
getOrDefaultin interfaceit.unimi.dsi.fastutil.longs.Long2CharFunction
-
remove
public char remove(long k) - Specified by:
removein interfaceit.unimi.dsi.fastutil.longs.Long2CharFunction
-
clear
public void clear() -
put
Deprecated.Please use the corresponding type-specific method instead. -
get
Deprecated.Please use the corresponding type-specific method instead. -
getOrDefault
Deprecated.Please use the corresponding type-specific method instead. -
remove
Deprecated.Please use the corresponding type-specific method instead. -
hashCode
public int hashCode() -
equals
-
toString
-