Interface SizedIterator<M>

    • Method Detail

      • totalSize

        @Pure
        int totalSize()
        Replies the count of elements in the iterated collection.
        Returns:
        the count of elements in the iterated collection.
      • rest

        @Pure
        default int rest()
        Replies the count of elements which are not replied by the iterator.
        Returns:
        the count of elements which are not replied by the iterator.
      • index

        @Pure
        int index()
        Replies the position of the last replied element in the iterated collection.
        Returns:
        the index of the last element replied by next().