Interface LongFunction<T>
-
- All Superinterfaces:
java.io.Serializable
,java.util.function.ToLongFunction<T>
- All Known Implementing Classes:
Functions.LongFunctionChain
,Functions.LongPassThruFunction
,LongFunctionImpl
,PrimitiveFunctions.UnboxIntegerToLong
,PrimitiveFunctions.UnboxNumberToLong
,StringFunctions.ToPrimitiveLongFunction
- 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 java.util.function.ToLongFunction<T>, java.io.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 long
applyAsLong(T value)
long
longValueOf(T anObject)
-