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 Summary

    Modifier and Type
    Method
    Description
    long
    apply(long value)
     
  • Method Details

    • apply

      long apply(long value)