@FunctionalInterface public interface ByteToLongFunction1 extends ToLongFunctionN, InputChainableInput<java.lang.Byte>, UnboxedAll<Function1<java.lang.Byte,java.lang.Long>,ToLongFunction1<java.lang.Byte>,ByteFunction1<java.lang.Long>>
byte-valued argument and produces a long-valued result.
This is the one-arity specialization of ToLongFunctionN.
This is the byte-consuming primitive specialization of ToLongFunction1.
This is the long-producing primitive specialization of ByteFunction1.
This is a functional interface whose functional method is applyAsLong(byte).
ByteFunction1,
ToLongFunction1,
ToLongFunctionNToLongFunctionN.InstanceFunctionN.FunctionSizeException| Modifier and Type | Method and Description |
|---|---|
default <V> ByteFunction1<V> |
andThen(Function1<? super java.lang.Long,? extends V> after)
Returns a chained object that applies this chainable object, and then
applies the
after function to ths result. |
default <V> ByteFunction1<V> |
andThenUnchecked(Function1<? super java.lang.Long,? extends V> after)
Returns a chained object that applies this chainable object, and then
applies the
after function to ths result. |
default long |
applyAllAsLongUnchecked(java.lang.Object... args)
Applies this function to the given arguments.
|
long |
applyAsLong(byte value)
Applies this function to the given argument.
|
default int |
arity()
Returns the number of arguments of the function.
|
default Function1<java.lang.Byte,java.lang.Long> |
box()
Returns the boxed version of this object with a boxed input and result.
|
default ToLongFunction1<java.lang.Byte> |
boxInput()
Returns the boxed version of this object with a boxed input.
|
default ByteFunction1<java.lang.Long> |
boxResult()
Returns the boxed version of this object with a boxed result.
|
default <V> ToLongFunction1<V> |
compose(Function1<? super V,? extends java.lang.Byte> before)
Returns a chained object that applies the
before function to its
input, and then applies this chainable object to the result. |
default <V> ToLongFunction1<V> |
composeUnchecked(Function1<? super V,? extends java.lang.Byte> before)
Returns a chained object that applies the
before function to its
input, and then applies this chainable object to the result. |
applyAllUncheckedcheckSize, checkSize, sizedApplyAllUncheckedlong applyAsLong(byte value)
value - the function argumentdefault long applyAllAsLongUnchecked(java.lang.Object... args)
ToLongFunctionNapplyAllAsLongUnchecked in interface ToLongFunctionNargs - the function argumentsdefault int arity()
FunctionN-1.default Function1<java.lang.Byte,java.lang.Long> box()
Unboxeddefault ToLongFunction1<java.lang.Byte> boxInput()
UnboxedInputboxInput in interface UnboxedInput<ToLongFunction1<java.lang.Byte>>ToLongFunction1default ByteFunction1<java.lang.Long> boxResult()
UnboxedResultboxResult in interface UnboxedResult<ByteFunction1<java.lang.Long>>ByteFunction1default <V> ToLongFunction1<V> compose(Function1<? super V,? extends java.lang.Byte> before)
InputChainablebefore function to its
input, and then applies this chainable object to the result. If evaluation
of either throws an exception, it is relayed to the caller of the chained
object.compose in interface InputChainable<java.lang.Byte>compose in interface InputChainableInput<java.lang.Byte>V - the type of the input to the before function, and to
then chained objectbefore - the function to apply before this chainable object is appliedbefore function
and then applies this chainable objectToLongFunction1default <V> ToLongFunction1<V> composeUnchecked(Function1<? super V,? extends java.lang.Byte> before)
InputChainablebefore function to its
input, and then applies this chainable object to the result. If evaluation
of either throws an exception, it is relayed to the caller of the chained
object. This makes no assumptions on the arguments of this method.composeUnchecked in interface InputChainable<java.lang.Byte>composeUnchecked in interface InputChainableInput<java.lang.Byte>V - the type of the input to the before function, and to
then chained objectbefore - the function to apply before this chainable object is appliedbefore function
and then applies this chainable objectToLongFunction1default <V> ByteFunction1<V> andThen(Function1<? super java.lang.Long,? extends V> after)
ResultChainableafter function to ths result. If evaluation of either
throws an exception, it is relayed to the caller of the chained object.andThen in interface FunctionN<java.lang.Long>andThen in interface ResultChainable<java.lang.Long>andThen in interface ResultChainableResult<java.lang.Long>V - the type of the output of the after function, and of
the chained objectafter - the function to apply after this chainable object is appliedafter functionByteFunction1default <V> ByteFunction1<V> andThenUnchecked(Function1<? super java.lang.Long,? extends V> after)
ResultChainableafter function to ths result. If evaluation of either
throws an exception, it is relayed to the caller of the chained object.
This makes no assumptions on the arguments of this method.andThenUnchecked in interface FunctionN<java.lang.Long>andThenUnchecked in interface ResultChainable<java.lang.Long>andThenUnchecked in interface ResultChainableResult<java.lang.Long>V - the type of the output of the after function, and of
the chained objectafter - the function to apply after this chainable object is appliedafter functionByteFunction1