Class DoubleCaseFunction<V>
java.lang.Object
org.eclipse.collections.impl.block.function.primitive.DoubleCaseFunction<V>
- All Implemented Interfaces:
Serializable
,DoubleFunction<V>
,DoubleToObjectFunction<V>
public class DoubleCaseFunction<V> extends Object implements DoubleToObjectFunction<V>
This file was automatically generated from template file primitiveCaseFunction.stg.
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description DoubleCaseFunction()
DoubleCaseFunction(DoubleToObjectFunction<? extends V> newDefaultFunction)
-
Method Summary
Modifier and Type Method Description DoubleCaseFunction<V>
addCase(DoublePredicate predicate, DoubleToObjectFunction<? extends V> function)
DoubleCaseFunction<V>
setDefault(DoubleToObjectFunction<? extends V> function)
String
toString()
V
valueOf(double argument)
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.eclipse.collections.api.block.function.primitive.DoubleToObjectFunction
apply
-
Constructor Details
-
DoubleCaseFunction
public DoubleCaseFunction() -
DoubleCaseFunction
-
-
Method Details
-
addCase
public DoubleCaseFunction<V> addCase(DoublePredicate predicate, DoubleToObjectFunction<? extends V> function) -
setDefault
-
valueOf
- Specified by:
valueOf
in interfaceDoubleToObjectFunction<V>
-
toString
-