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