Top Description Methods
org.eclipse.collections.api.block.function.primitive

public Interface DoubleFunction<T>

extends ToDoubleFunction<T>, Serializable
Annotations
@FunctionalInterface
Imports
java.io.Serializable

DoubleFunction is a primitive Function which may be used to reduce the overhead of autoboxing Double objects in places where primitive doubles could be used. This file was automatically generated from template file primitiveFunction.stg.
Since
3.0.

Method Summary

Modifier and TypeMethod and Description
public default double
applyAsDouble(T value)

Implements java.util.function.ToDoubleFunction.applyAsDouble.

Applies this function to the given argument.

public double
doubleValueOf(T anObject)

Method Detail

applyAsDoubleback to summary
public default double applyAsDouble(T value)

Implements java.util.function.ToDoubleFunction.applyAsDouble.

Doc from java.util.function.ToDoubleFunction.applyAsDouble.

Applies this function to the given argument.

Annotations
@Override
doubleValueOfback to summary
public double doubleValueOf(T anObject)