@FunctionalInterface public interface ToShortFunction0 extends ToShortFunctionN, UnboxedResult<Function0<java.lang.Short>>
short-valued result.
This is the zero-arity specialization of ToShortFunctionN.
This is the short-producing primitive specialization of Function0.
This is a functional interface whose functional method is applyAsShort().
Function0,
ToShortFunctionNToShortFunctionN.InstanceFunctionN.FunctionSizeException| Modifier and Type | Method and Description |
|---|---|
default <V> Function0<V> |
andThen(Function1<? super java.lang.Short,? extends V> after)
Returns a chained object that applies this chainable object, and then
applies the
after function to ths result. |
default <V> Function0<V> |
andThenUnchecked(Function1<? super java.lang.Short,? extends V> after)
Returns a chained object that applies this chainable object, and then
applies the
after function to ths result. |
default short |
applyAllAsShortUnchecked(java.lang.Object... args)
Applies this function to the given arguments.
|
short |
applyAsShort()
Applies this function.
|
default int |
arity()
Returns the number of arguments of the function.
|
default Function0<java.lang.Short> |
boxResult()
Returns the boxed version of this object with a boxed result.
|
applyAllUncheckedcheckSize, checkSize, sizedApplyAllUncheckedshort applyAsShort()
default short applyAllAsShortUnchecked(java.lang.Object... args)
ToShortFunctionNapplyAllAsShortUnchecked in interface ToShortFunctionNargs - the function argumentsdefault int arity()
FunctionN-1.default Function0<java.lang.Short> boxResult()
UnboxedResultboxResult in interface UnboxedResult<Function0<java.lang.Short>>Function0default <V> Function0<V> andThen(Function1<? super java.lang.Short,? 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.Short>andThen in interface ResultChainable<java.lang.Short>andThen in interface ResultChainableResult<java.lang.Short>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 functionFunction0default <V> Function0<V> andThenUnchecked(Function1<? super java.lang.Short,? 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.Short>andThenUnchecked in interface ResultChainable<java.lang.Short>andThenUnchecked in interface ResultChainableResult<java.lang.Short>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 functionFunction0