Interface ScalingReservoir.ScaleFunction

  • Enclosing class:
    ScalingReservoir
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public static interface ScalingReservoir.ScaleFunction
    Scale the input value. Not using java.util.function.Function<Long, Long> to avoid auto-boxing.
    • Method Detail

      • apply

        long apply​(long value)