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 interface CountSupplier
Used for converting selector size to some other value. Selector size is always long, for legacy reasons. The rest of the code uses ints though, so this functional interface implies a conversion to int, so that the rest of the code doesn't have to worry about it anymore.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    applyAsInt(long valueCount)
     
  • Method Details

    • applyAsInt

      int applyAsInt(long valueCount)