@FunctionalInterface public interface CharToByteFunction1 extends ToByteFunctionN, InputChainableInput<java.lang.Character>, UnboxedAll<Function1<java.lang.Character,java.lang.Byte>,ToByteFunction1<java.lang.Character>,CharFunction1<java.lang.Byte>>
char-valued argument and produces a byte-valued result.
This is the one-arity specialization of ToByteFunctionN.
This is the char-consuming primitive specialization of ToByteFunction1.
This is the byte-producing primitive specialization of CharFunction1.
This is a functional interface whose functional method is applyAsByte(char).
CharFunction1,
ToByteFunction1,
ToByteFunctionNToByteFunctionN.InstanceFunctionN.FunctionSizeException| Modifier and Type | Method and Description |
|---|---|
default <V> CharFunction1<V> |
andThen(Function1<? super java.lang.Byte,? extends V> after)
Returns a chained object that applies this chainable object, and then
applies the
after function to ths result. |
default <V> CharFunction1<V> |
andThenUnchecked(Function1<? super java.lang.Byte,? extends V> after)
Returns a chained object that applies this chainable object, and then
applies the
after function to ths result. |
default byte |
applyAllAsByteUnchecked(java.lang.Object... args)
Applies this function to the given arguments.
|
byte |
applyAsByte(char value)
Applies this function to the given argument.
|
default int |
arity()
Returns the number of arguments of the function.
|
default Function1<java.lang.Character,java.lang.Byte> |
box()
Returns the boxed version of this object with a boxed input and result.
|
default ToByteFunction1<java.lang.Character> |
boxInput()
Returns the boxed version of this object with a boxed input.
|
default CharFunction1<java.lang.Byte> |
boxResult()
Returns the boxed version of this object with a boxed result.
|
default <V> ToByteFunction1<V> |
compose(Function1<? super V,? extends java.lang.Character> before)
Returns a chained object that applies the
before function to its
input, and then applies this chainable object to the result. |
default <V> ToByteFunction1<V> |
composeUnchecked(Function1<? super V,? extends java.lang.Character> before)
Returns a chained object that applies the
before function to its
input, and then applies this chainable object to the result. |
applyAllUncheckedcheckSize, checkSize, sizedApplyAllUncheckedbyte applyAsByte(char value)
value - the function argumentdefault byte applyAllAsByteUnchecked(java.lang.Object... args)
ToByteFunctionNapplyAllAsByteUnchecked in interface ToByteFunctionNargs - the function argumentsdefault int arity()
FunctionN-1.default Function1<java.lang.Character,java.lang.Byte> box()
Unboxeddefault ToByteFunction1<java.lang.Character> boxInput()
UnboxedInputboxInput in interface UnboxedInput<ToByteFunction1<java.lang.Character>>ToByteFunction1default CharFunction1<java.lang.Byte> boxResult()
UnboxedResultboxResult in interface UnboxedResult<CharFunction1<java.lang.Byte>>CharFunction1default <V> ToByteFunction1<V> compose(Function1<? super V,? extends java.lang.Character> 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.Character>compose in interface InputChainableInput<java.lang.Character>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 objectToByteFunction1default <V> ToByteFunction1<V> composeUnchecked(Function1<? super V,? extends java.lang.Character> 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.Character>composeUnchecked in interface InputChainableInput<java.lang.Character>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 objectToByteFunction1default <V> CharFunction1<V> andThen(Function1<? super java.lang.Byte,? 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.Byte>andThen in interface ResultChainable<java.lang.Byte>andThen in interface ResultChainableResult<java.lang.Byte>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 functionCharFunction1default <V> CharFunction1<V> andThenUnchecked(Function1<? super java.lang.Byte,? 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.Byte>andThenUnchecked in interface ResultChainable<java.lang.Byte>andThenUnchecked in interface ResultChainableResult<java.lang.Byte>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 functionCharFunction1