Class IntCaseFunction<V>
java.lang.Object
org.eclipse.collections.impl.block.function.primitive.IntCaseFunction<V>
- All Implemented Interfaces:
Serializable, IntFunction<V>, IntToObjectFunction<V>
This file was automatically generated from template file primitiveCaseFunction.stg.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate IntToObjectFunction<? extends V> private final MutableList<Pair<IntPredicate, IntToObjectFunction<? extends V>>> private static final long -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddCase(IntPredicate predicate, IntToObjectFunction<? extends V> function) setDefault(IntToObjectFunction<? extends V> function) toString()valueOf(int argument) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface IntToObjectFunction
apply
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
predicateFunctions
-
defaultFunction
-
-
Constructor Details
-
IntCaseFunction
public IntCaseFunction() -
IntCaseFunction
-
-
Method Details
-
addCase
public IntCaseFunction<V> addCase(IntPredicate predicate, IntToObjectFunction<? extends V> function) -
setDefault
-
valueOf
- Specified by:
valueOfin interfaceIntToObjectFunction<V>
-
toString
-