Class IntCaseFunction<V>
java.lang.Object
org.eclipse.collections.impl.block.function.primitive.IntCaseFunction<V>
- All Implemented Interfaces:
Serializable
,IntFunction<V>
,IntToObjectFunction<V>
public class IntCaseFunction<V> extends Object implements IntToObjectFunction<V>
This file was automatically generated from template file primitiveCaseFunction.stg.
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description IntCaseFunction()
IntCaseFunction(IntToObjectFunction<? extends V> newDefaultFunction)
-
Method Summary
Modifier and Type Method Description IntCaseFunction<V>
addCase(IntPredicate predicate, IntToObjectFunction<? extends V> function)
IntCaseFunction<V>
setDefault(IntToObjectFunction<? extends V> function)
String
toString()
V
valueOf(int argument)
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.eclipse.collections.api.block.function.primitive.IntToObjectFunction
apply
-
Constructor Details
-
IntCaseFunction
public IntCaseFunction() -
IntCaseFunction
-
-
Method Details
-
addCase
public IntCaseFunction<V> addCase(IntPredicate predicate, IntToObjectFunction<? extends V> function) -
setDefault
-
valueOf
- Specified by:
valueOf
in interfaceIntToObjectFunction<V>
-
toString
-