Interface LongFunction<T>
-
- All Superinterfaces:
Serializable,ToLongFunction<T>
- 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 LongFunction<T> extends ToLongFunction<T>, Serializable
LongFunction is a primitive Function which may be used to reduce the overhead of autoboxing Long objects in places where primitive longs could be used. This file was automatically generated from template file primitiveFunction.stg.- Since:
- 3.0.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default longapplyAsLong(T value)longlongValueOf(T anObject)
-
-
-
Method Detail
-
longValueOf
long longValueOf(T anObject)
-
applyAsLong
default long applyAsLong(T value)
- Specified by:
applyAsLongin interfaceToLongFunction<T>
-
-