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