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