Package it.unimi.dsi.fastutil.ints
Class Int2CharFunctions.SynchronizedFunction
java.lang.Object
it.unimi.dsi.fastutil.ints.Int2CharFunctions.SynchronizedFunction
- All Implemented Interfaces:
it.unimi.dsi.fastutil.Function<Integer,,Character> it.unimi.dsi.fastutil.ints.Int2CharFunction,Serializable,Function<Integer,,Character> IntUnaryOperator
- Direct Known Subclasses:
Int2CharMaps.SynchronizedMap
- Enclosing class:
Int2CharFunctions
public static class Int2CharFunctions.SynchronizedFunction
extends Object
implements it.unimi.dsi.fastutil.ints.Int2CharFunction, Serializable
A synchronized wrapper class for functions.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSynchronizedFunction(it.unimi.dsi.fastutil.ints.Int2CharFunction f) protectedSynchronizedFunction(it.unimi.dsi.fastutil.ints.Int2CharFunction f, Object sync) -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Please use the corresponding type-specific method instead.intapplyAsInt(int operand) voidclear()booleancontainsKey(int k) booleanDeprecated.charvoiddefaultReturnValue(char defRetValue) booleancharget(int k) Deprecated.Please use the corresponding type-specific method instead.chargetOrDefault(int k, char defaultValue) getOrDefault(Object k, Character defaultValue) Deprecated.Please use the corresponding type-specific method instead.inthashCode()charput(int k, char v) Deprecated.Please use the corresponding type-specific method instead.charremove(int 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.ints.Int2CharFunction
andThen, andThenByte, andThenChar, andThenDouble, andThenFloat, andThenInt, andThenLong, andThenObject, andThenReference, andThenShort, compose, composeByte, composeChar, composeDouble, composeFloat, composeInt, composeLong, composeObject, composeReference, composeShortMethods inherited from interface java.util.function.IntUnaryOperator
andThen, compose
-
Field Details
-
function
protected final it.unimi.dsi.fastutil.ints.Int2CharFunction function -
sync
-
-
Constructor Details
-
SynchronizedFunction
-
SynchronizedFunction
protected SynchronizedFunction(it.unimi.dsi.fastutil.ints.Int2CharFunction f)
-
-
Method Details
-
applyAsInt
public int applyAsInt(int operand) - Specified by:
applyAsIntin interfaceit.unimi.dsi.fastutil.ints.Int2CharFunction- Specified by:
applyAsIntin interfaceIntUnaryOperator
-
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.ints.Int2CharFunction
-
defaultReturnValue
public void defaultReturnValue(char defRetValue) - Specified by:
defaultReturnValuein interfaceit.unimi.dsi.fastutil.ints.Int2CharFunction
-
containsKey
public boolean containsKey(int k) - Specified by:
containsKeyin interfaceit.unimi.dsi.fastutil.ints.Int2CharFunction
-
containsKey
Deprecated. -
put
public char put(int k, char v) - Specified by:
putin interfaceit.unimi.dsi.fastutil.ints.Int2CharFunction
-
get
public char get(int k) - Specified by:
getin interfaceit.unimi.dsi.fastutil.ints.Int2CharFunction
-
getOrDefault
public char getOrDefault(int k, char defaultValue) - Specified by:
getOrDefaultin interfaceit.unimi.dsi.fastutil.ints.Int2CharFunction
-
remove
public char remove(int k) - Specified by:
removein interfaceit.unimi.dsi.fastutil.ints.Int2CharFunction
-
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
-