Interface Size64

    • Method Detail

      • size64

        long size64()
        Returns the size of this data structure as a long.
        Returns:
        the size of this data structure.
      • size

        @Deprecated
        default int size()
        Deprecated.
        Use size64() instead.
        Returns the size of this data structure, minimized with Integer.MAX_VALUE.

        This default implementation follows the definition above, which is compatible with Collection.size().

        Returns:
        the size of this data structure, minimized with Integer.MAX_VALUE.
        See Also:
        Collection.size()