Interface LongToByteFunction


  • public interface LongToByteFunction
    Functional interface that corresponds to the method signature byte apply(long).
    Since:
    1.0.4
    Author:
    Emil Forslund
    • Method Detail

      • applyAsByte

        byte applyAsByte​(long value)
        Returns the byte value for the specified long. This method should operate without side-effects.
        Parameters:
        value - the input long value
        Returns:
        the resulting value