Serializable
, FloatToObjectFunction<V>
public class FloatCaseFunction<V> extends Object implements FloatToObjectFunction<V>
Constructor | Description |
---|---|
FloatCaseFunction() |
|
FloatCaseFunction(FloatToObjectFunction<? extends V> newDefaultFunction) |
Modifier and Type | Method | Description |
---|---|---|
FloatCaseFunction<V> |
addCase(FloatPredicate predicate,
FloatToObjectFunction<? extends V> function) |
|
FloatCaseFunction<V> |
setDefault(FloatToObjectFunction<? extends V> function) |
|
String |
toString() |
|
V |
valueOf(float argument) |
public FloatCaseFunction()
public FloatCaseFunction(FloatToObjectFunction<? extends V> newDefaultFunction)
public FloatCaseFunction<V> addCase(FloatPredicate predicate, FloatToObjectFunction<? extends V> function)
public FloatCaseFunction<V> setDefault(FloatToObjectFunction<? extends V> function)
public V valueOf(float argument)
valueOf
in interface FloatToObjectFunction<V>
Copyright © 2004–2017. All rights reserved.