Interface Chunk.ElementSizer

Enclosing class:
Chunk
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 Chunk.ElementSizer
Functional interface for getting the size of an element.
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    Returns the size of the element in the appropriate dimension, depending on how this Chunk is being computed.
  • Method Details

    • getElementSize

      long getElementSize(Element element)
      Returns the size of the element in the appropriate dimension, depending on how this Chunk is being computed.