Package it.unimi.dsi.fastutil.objects
Class Reference2BooleanFunctions.PrimitiveFunction<K>
java.lang.Object
it.unimi.dsi.fastutil.objects.Reference2BooleanFunctions.PrimitiveFunction<K>
- All Implemented Interfaces:
it.unimi.dsi.fastutil.Function<K,,Boolean> it.unimi.dsi.fastutil.objects.Reference2BooleanFunction<K>,Function<K,,Boolean> Predicate<K>
- Enclosing class:
Reference2BooleanFunctions
public static class Reference2BooleanFunctions.PrimitiveFunction<K>
extends Object
implements it.unimi.dsi.fastutil.objects.Reference2BooleanFunction<K>
An adapter for mapping generic total functions to partial primitive functions.
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedPrimitiveFunction(Function<? super K, ? extends Boolean> function) -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsKey(Object key) Deprecated.booleangetBoolean(Object key) booleangetOrDefault(Object key, boolean defaultValue) getOrDefault(Object key, Boolean defaultValue) Deprecated.Deprecated.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface it.unimi.dsi.fastutil.Function
apply, clear, sizeMethods 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, defaultReturnValue, defaultReturnValue, put, remove, removeBoolean, test
-
Field Details
-
function
-
-
Constructor Details
-
PrimitiveFunction
-
-
Method Details