Package generic.stl
Class ReverseSetIterator<T>
java.lang.Object
generic.stl.SetIterator<T>
generic.stl.ReverseSetIterator<T>
- All Implemented Interfaces:
- IteratorSTL<T>
- 
Field SummaryFields inherited from class generic.stl.SetIteratorerased, node, tree
- 
Method SummaryModifier and TypeMethodDescriptioncopy()Creates a copy of this iterator.Devance the iterator to the previous position.voiddelete()booleaninthashCode()Advances the iterator to the next position.booleanisBegin()Returns true if the iterator is positioned on the first element of the collection.
- 
Method Details- 
copyDescription copied from interface:IteratorSTLCreates a copy of this iterator.- Specified by:
- copyin interface- IteratorSTL<T>
- Overrides:
- copyin class- SetIterator<T>
- Returns:
- a copy of this iterator.
 
- 
incrementDescription copied from interface:IteratorSTLAdvances the iterator to the next position.- Specified by:
- incrementin interface- IteratorSTL<T>
- Overrides:
- incrementin class- SetIterator<T>
- Returns:
- a reference to the iterator itself
 
- 
decrementDescription copied from interface:IteratorSTLDevance the iterator to the previous position. This method is only supported in bidirectional iterators.- Specified by:
- decrementin interface- IteratorSTL<T>
- Overrides:
- decrementin class- SetIterator<T>
- Returns:
- a reference to the iterator itself
 
- 
deletepublic void delete()
- 
isBeginpublic boolean isBegin()Description copied from interface:IteratorSTLReturns true if the iterator is positioned on the first element of the collection. If the collection is empty, this will always return false.- Specified by:
- isBeginin interface- IteratorSTL<T>
- Overrides:
- isBeginin class- SetIterator<T>
- Returns:
- true if the iterator is positioned on the first element of the collection.
 
- 
equals- Overrides:
- equalsin class- SetIterator<T>
 
- 
hashCodepublic int hashCode()- Overrides:
- hashCodein class- SetIterator<T>
 
 
-