Interface DoubleFunction1N<T>
-
- Type Parameters:
T
- The function return type.
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface DoubleFunction1N<T>
Represents a function that accepts a single double value and returns a result.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
apply(double n)
Apply the function and return the result.
-
-
-
Method Detail
-
apply
T apply(double n)
Apply the function and return the result.- Parameters:
n
- the function argument- Returns:
- the function result
-
-