Interface TIterator

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean hasNext()
      Returns true if the iterator can be advanced past its current location.
      void remove()
      Removes the last entry returned by the iterator.
    • Method Detail

      • hasNext

        boolean hasNext()
        Returns true if the iterator can be advanced past its current location.
        Returns:
        a boolean value
      • remove

        void remove()
        Removes the last entry returned by the iterator. The result of invoking this method more than once for a single entry is undefined and can leave the underlying data structure in a confused state.