Serializable
, ShortToObjectFunction<V>
public class ShortCaseFunction<V> extends Object implements ShortToObjectFunction<V>
Constructor | Description |
---|---|
ShortCaseFunction() |
|
ShortCaseFunction(ShortToObjectFunction<? extends V> newDefaultFunction) |
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) |
public ShortCaseFunction()
public ShortCaseFunction(ShortToObjectFunction<? extends V> newDefaultFunction)
public ShortCaseFunction<V> addCase(ShortPredicate predicate, ShortToObjectFunction<? extends V> function)
public ShortCaseFunction<V> setDefault(ShortToObjectFunction<? extends V> function)
public V valueOf(short argument)
valueOf
in interface ShortToObjectFunction<V>
Copyright © 2004–2019. All rights reserved.