Class DoubleCaseFunction<V>
java.lang.Object
org.eclipse.collections.impl.block.function.primitive.DoubleCaseFunction<V>
- All Implemented Interfaces:
Serializable, DoubleFunction<V>, DoubleToObjectFunction<V>
This file was automatically generated from template file primitiveCaseFunction.stg.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate DoubleToObjectFunction<? extends V> private final MutableList<Pair<DoublePredicate, DoubleToObjectFunction<? extends V>>> private static final long -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddCase(DoublePredicate predicate, DoubleToObjectFunction<? extends V> function) setDefault(DoubleToObjectFunction<? extends V> function) toString()valueOf(double argument) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface DoubleToObjectFunction
apply
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
predicateFunctions
private final MutableList<Pair<DoublePredicate, DoubleToObjectFunction<? extends V>>> predicateFunctions -
defaultFunction
-
-
Constructor Details
-
DoubleCaseFunction
public DoubleCaseFunction() -
DoubleCaseFunction
-
-
Method Details
-
addCase
public DoubleCaseFunction<V> addCase(DoublePredicate predicate, DoubleToObjectFunction<? extends V> function) -
setDefault
-
valueOf
- Specified by:
valueOfin interfaceDoubleToObjectFunction<V>
-
toString
-