Package Torello.Java.Function
Interface ToShortFunction<A>
-
- Type Parameters:
A
- The type of the input-parameter.
- 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 ToShortFunction<A>
Function-Pointer Input:A
Output:short
.
AFunctionalInterface
(Function-Pointer) that is a function for generating / producing a Javashort
-primitive. This Function accepts1
argument.
Hi-Lited Source-Code:- View Here: Torello/Java/Function/ToShortFunction.java
- Open New Browser-Tab: Torello/Java/Function/ToShortFunction.java
-
-
Method Summary
@FunctionalInterface (Lambda) Method Modifier and Type Method short
applyAsShort(A a)
-
-
-
Method Detail
-
applyAsShort
short applyAsShort(A a)
Applies'this'
integer-function to the given argument, and returns the resulting'short'
- Parameters:
a
- the input argument- Returns:
- The
'short'
result.
-
-