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