Interface IHasSizeLong


public interface IHasSizeLong
Base interface for all objects having a certain size with long precision.
Since:
11.1.5
Author:
Philip Helger
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    default boolean
     
    long
     
  • Method Details

    • size

      @Nonnegative long size()
      Returns:
      The number of contained elements. Always ≥ 0.
    • isEmpty

      boolean isEmpty()
      Returns:
      true if no items are present, false if at least a single item is present.
      See Also:
    • isNotEmpty

      default boolean isNotEmpty()
      Returns:
      true if at least one item is present, false if no item is present.
      See Also: