Package it.unimi.dsi.fastutil.objects
Class Reference2FloatFunctions.SynchronizedFunction<K>
java.lang.Object
it.unimi.dsi.fastutil.objects.Reference2FloatFunctions.SynchronizedFunction<K>
- All Implemented Interfaces:
it.unimi.dsi.fastutil.Function<K,,Float> it.unimi.dsi.fastutil.objects.Reference2FloatFunction<K>,Serializable,Function<K,,Float> ToDoubleFunction<K>
- Direct Known Subclasses:
Reference2FloatMaps.SynchronizedMap
- Enclosing class:
Reference2FloatFunctions
public static class Reference2FloatFunctions.SynchronizedFunction<K>
extends Object
implements it.unimi.dsi.fastutil.objects.Reference2FloatFunction<K>, Serializable
A synchronized wrapper class for functions.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSynchronizedFunction(it.unimi.dsi.fastutil.objects.Reference2FloatFunction<K> f) protectedSynchronizedFunction(it.unimi.dsi.fastutil.objects.Reference2FloatFunction<K> f, Object sync) -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Please use the corresponding type-specific method instead.doubleapplyAsDouble(K operand) voidclear()booleanfloatvoiddefaultReturnValue(float defRetValue) booleanDeprecated.Please use the corresponding type-specific method instead.floatfloatgetOrDefault(Object k, float defaultValue) getOrDefault(Object k, Float defaultValue) Deprecated.Please use the corresponding type-specific method instead.inthashCode()floatDeprecated.Please use the corresponding type-specific method instead.Deprecated.Please use the corresponding type-specific method instead.floatintsize()toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface it.unimi.dsi.fastutil.objects.Reference2FloatFunction
andThen, andThenByte, andThenChar, andThenDouble, andThenFloat, andThenInt, andThenLong, andThenObject, andThenReference, andThenShort, composeByte, composeChar, composeDouble, composeFloat, composeInt, composeLong, composeObject, composeReference, composeShort
-
Field Details
-
function
-
sync
-
-
Constructor Details
-
SynchronizedFunction
-
SynchronizedFunction
-
-
Method Details
-
applyAsDouble
- Specified by:
applyAsDoublein interfaceit.unimi.dsi.fastutil.objects.Reference2FloatFunction<K>- Specified by:
applyAsDoublein interfaceToDoubleFunction<K>
-
apply
Deprecated.Please use the corresponding type-specific method instead. -
size
public int size() -
defaultReturnValue
public float defaultReturnValue()- Specified by:
defaultReturnValuein interfaceit.unimi.dsi.fastutil.objects.Reference2FloatFunction<K>
-
defaultReturnValue
public void defaultReturnValue(float defRetValue) - Specified by:
defaultReturnValuein interfaceit.unimi.dsi.fastutil.objects.Reference2FloatFunction<K>
-
containsKey
-
put
- Specified by:
putin interfaceit.unimi.dsi.fastutil.objects.Reference2FloatFunction<K>
-
getFloat
- Specified by:
getFloatin interfaceit.unimi.dsi.fastutil.objects.Reference2FloatFunction<K>
-
getOrDefault
- Specified by:
getOrDefaultin interfaceit.unimi.dsi.fastutil.objects.Reference2FloatFunction<K>
-
removeFloat
- Specified by:
removeFloatin interfaceit.unimi.dsi.fastutil.objects.Reference2FloatFunction<K>
-
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
-