Package generic.stl

Class ReverseSetIterator<T>

    • Method Detail

      • decrement

        public IteratorSTL<T> decrement()
        Description copied from interface: IteratorSTL
        Devance the iterator to the previous position. This method is only supported in bidirectional iterators.
        Specified by:
        decrement in interface IteratorSTL<T>
        Overrides:
        decrement in class SetIterator<T>
        Returns:
        a reference to the iterator itself
      • delete

        public void delete()
      • isBegin

        public boolean isBegin()
        Description copied from interface: IteratorSTL
        Returns true if the iterator is positioned on the first first element of the collection. If the collection is empty, this will always return false.
        Specified by:
        isBegin in interface IteratorSTL<T>
        Overrides:
        isBegin in class SetIterator<T>
        Returns:
        true if the iterator is positioned on the first element of the collection.
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class SetIterator<T>