Class BooleanCaseFunction<V>
java.lang.Object
org.eclipse.collections.impl.block.function.primitive.BooleanCaseFunction<V>
- All Implemented Interfaces:
Serializable
,BooleanToObjectFunction<V>
public class BooleanCaseFunction<V> extends Object implements BooleanToObjectFunction<V>
This file was automatically generated from template file primitiveCaseFunction.stg.
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description BooleanCaseFunction()
BooleanCaseFunction(BooleanToObjectFunction<? extends V> newDefaultFunction)
-
Method Summary
Modifier and Type Method Description BooleanCaseFunction<V>
addCase(BooleanPredicate predicate, BooleanToObjectFunction<? extends V> function)
BooleanCaseFunction<V>
setDefault(BooleanToObjectFunction<? extends V> function)
String
toString()
V
valueOf(boolean argument)
-
Constructor Details
-
BooleanCaseFunction
public BooleanCaseFunction() -
BooleanCaseFunction
-
-
Method Details
-
addCase
public BooleanCaseFunction<V> addCase(BooleanPredicate predicate, BooleanToObjectFunction<? extends V> function) -
setDefault
-
valueOf
- Specified by:
valueOf
in interfaceBooleanToObjectFunction<V>
-
toString
-