Interface SerializableLongUnaryOperator

    • Method Detail

      • compose

        default SerializableLongUnaryOperator compose​(SerializableLongUnaryOperator before)
        Returns a composed operator that first applies the before operator to its input, and then applies this operator to the result. If evaluation of either operator throws an exception, it is relayed to the caller of the composed operator.
        Parameters:
        before - the operator to apply before this operator is applied
        Returns:
        a composed operator that first applies the before operator and then applies this operator
        Throws:
        NullPointerException - if before is null
        See Also:
        LongUnaryOperator.andThen(LongUnaryOperator)
      • identity

        static SerializableLongUnaryOperator identity()
        Returns a unary operator that always returns its input argument.
        Returns:
        a unary operator that always returns its input argument