Client and backend. This class is shared: the same code is compiled into your app and into your server, so everything on this page works in both.
@FunctionalInterface
public interface LongUnaryOperator
Methods
Method details
applyAsLong
public abstract long applyAsLong(long operand)Applies this operator.
Parameters
operandlong- the input
Returns
the result
compose
public default LongUnaryOperator compose(LongUnaryOperator before)before, then this operator on its result.Parameters
beforeLongUnaryOperator- the operator applied first
Returns
the composed operator
andThen
public default LongUnaryOperator andThen(LongUnaryOperator after)This operator, then
after on its result.Parameters
afterLongUnaryOperator- the operator applied next
Returns
the composed operator
identity
public static LongUnaryOperator identity()The operator that answers its operand.
Returns
the identity operator