Class LongCaseFunction<V>
java.lang.Object
org.eclipse.collections.impl.block.function.primitive.LongCaseFunction<V>
- All Implemented Interfaces:
Serializable
,LongFunction<V>
,LongToObjectFunction<V>
public class LongCaseFunction<V> extends Object implements LongToObjectFunction<V>
This file was automatically generated from template file primitiveCaseFunction.stg.
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description LongCaseFunction()
LongCaseFunction(LongToObjectFunction<? extends V> newDefaultFunction)
-
Method Summary
Modifier and Type Method Description LongCaseFunction<V>
addCase(LongPredicate predicate, LongToObjectFunction<? extends V> function)
LongCaseFunction<V>
setDefault(LongToObjectFunction<? extends V> function)
String
toString()
V
valueOf(long 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.LongToObjectFunction
apply
-
Constructor Details
-
LongCaseFunction
public LongCaseFunction() -
LongCaseFunction
-
-
Method Details
-
addCase
public LongCaseFunction<V> addCase(LongPredicate predicate, LongToObjectFunction<? extends V> function) -
setDefault
-
valueOf
- Specified by:
valueOf
in interfaceLongToObjectFunction<V>
-
toString
-