java.io.Serializable
, java.util.function.DoubleFunction<V>
, DoubleToObjectFunction<V>
public class DoubleCaseFunction<V> extends java.lang.Object implements DoubleToObjectFunction<V>
Constructor | Description |
---|---|
DoubleCaseFunction() |
|
DoubleCaseFunction(DoubleToObjectFunction<? extends V> newDefaultFunction) |
Modifier and Type | Method | Description |
---|---|---|
DoubleCaseFunction<V> |
addCase(DoublePredicate predicate,
DoubleToObjectFunction<? extends V> function) |
|
DoubleCaseFunction<V> |
setDefault(DoubleToObjectFunction<? extends V> function) |
|
java.lang.String |
toString() |
|
V |
valueOf(double argument) |
apply
public DoubleCaseFunction()
public DoubleCaseFunction(DoubleToObjectFunction<? extends V> newDefaultFunction)
public DoubleCaseFunction<V> addCase(DoublePredicate predicate, DoubleToObjectFunction<? extends V> function)
public DoubleCaseFunction<V> setDefault(DoubleToObjectFunction<? extends V> function)
public V valueOf(double argument)
valueOf
in interface DoubleToObjectFunction<V>
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2004–2018. All rights reserved.