Package it.unimi.dsi.fastutil.objects
Class Reference2BooleanFunctions.SynchronizedFunction<K>
java.lang.Object
it.unimi.dsi.fastutil.objects.Reference2BooleanFunctions.SynchronizedFunction<K>
- All Implemented Interfaces:
it.unimi.dsi.fastutil.Function<K,,Boolean> it.unimi.dsi.fastutil.objects.Reference2BooleanFunction<K>,Serializable,Function<K,,Boolean> Predicate<K>
- Direct Known Subclasses:
Reference2BooleanMaps.SynchronizedMap
- Enclosing class:
Reference2BooleanFunctions
public static class Reference2BooleanFunctions.SynchronizedFunction<K>
extends Object
implements it.unimi.dsi.fastutil.objects.Reference2BooleanFunction<K>, Serializable
A synchronized wrapper class for functions.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSynchronizedFunction(it.unimi.dsi.fastutil.objects.Reference2BooleanFunction<K> f) protectedSynchronizedFunction(it.unimi.dsi.fastutil.objects.Reference2BooleanFunction<K> f, Object sync) -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Please use the corresponding type-specific method instead.voidclear()booleanbooleanvoiddefaultReturnValue(boolean defRetValue) booleanDeprecated.Please use the corresponding type-specific method instead.booleangetBoolean(Object k) booleangetOrDefault(Object k, boolean defaultValue) getOrDefault(Object k, Boolean defaultValue) Deprecated.Please use the corresponding type-specific method instead.inthashCode()booleanDeprecated.Please use the corresponding type-specific method instead.Deprecated.Please use the corresponding type-specific method instead.booleanintsize()booleantoString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface it.unimi.dsi.fastutil.objects.Reference2BooleanFunction
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
-
test
-
apply
Deprecated.Please use the corresponding type-specific method instead. -
size
public int size() -
defaultReturnValue
public boolean defaultReturnValue()- Specified by:
defaultReturnValuein interfaceit.unimi.dsi.fastutil.objects.Reference2BooleanFunction<K>
-
defaultReturnValue
public void defaultReturnValue(boolean defRetValue) - Specified by:
defaultReturnValuein interfaceit.unimi.dsi.fastutil.objects.Reference2BooleanFunction<K>
-
containsKey
-
put
- Specified by:
putin interfaceit.unimi.dsi.fastutil.objects.Reference2BooleanFunction<K>
-
getBoolean
- Specified by:
getBooleanin interfaceit.unimi.dsi.fastutil.objects.Reference2BooleanFunction<K>
-
getOrDefault
- Specified by:
getOrDefaultin interfaceit.unimi.dsi.fastutil.objects.Reference2BooleanFunction<K>
-
removeBoolean
- Specified by:
removeBooleanin interfaceit.unimi.dsi.fastutil.objects.Reference2BooleanFunction<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
-