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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ByteCaseFunction<V>addCase(BytePredicate predicate, ByteToObjectFunction<? extends V> function)ByteCaseFunction<V>setDefault(ByteToObjectFunction<? extends V> function)StringtoString()VvalueOf(byte argument)
-
-
-
Constructor Detail
-
ByteCaseFunction
public ByteCaseFunction()
-
ByteCaseFunction
public ByteCaseFunction(ByteToObjectFunction<? extends V> newDefaultFunction)
-
-
Method Detail
-
addCase
public ByteCaseFunction<V> addCase(BytePredicate predicate, ByteToObjectFunction<? extends V> function)
-
setDefault
public ByteCaseFunction<V> setDefault(ByteToObjectFunction<? extends V> function)
-
valueOf
public V valueOf(byte argument)
- Specified by:
valueOfin interfaceByteToObjectFunction<V>
-
-