Package generic.stl
Class ReverseSetIterator<T>
- java.lang.Object
 - 
- generic.stl.SetIterator<T>
 - 
- generic.stl.ReverseSetIterator<T>
 
 
 
- 
- All Implemented Interfaces:
 IteratorSTL<T>
public class ReverseSetIterator<T> extends SetIterator<T>
 
- 
- 
Field Summary
- 
Fields inherited from class generic.stl.SetIterator
erased, node, tree 
 - 
 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IteratorSTL<T>copy()Creates a copy of this iterator.IteratorSTL<T>decrement()Devance the iterator to the previous position.voiddelete()booleanequals(java.lang.Object obj)inthashCode()IteratorSTL<T>increment()Advances the iterator to the next position.booleanisBegin()Returns true if the iterator is positioned on the first first element of the collection. 
 - 
 
- 
- 
Method Detail
- 
copy
public IteratorSTL<T> copy()
Description copied from interface:IteratorSTLCreates a copy of this iterator.- Specified by:
 copyin interfaceIteratorSTL<T>- Overrides:
 copyin classSetIterator<T>- Returns:
 - a copy of this iterator.
 
 
- 
increment
public IteratorSTL<T> increment()
Description copied from interface:IteratorSTLAdvances the iterator to the next position.- Specified by:
 incrementin interfaceIteratorSTL<T>- Overrides:
 incrementin classSetIterator<T>- Returns:
 - a reference to the iterator itself
 
 
- 
decrement
public IteratorSTL<T> decrement()
Description copied from interface:IteratorSTLDevance the iterator to the previous position. This method is only supported in bidirectional iterators.- Specified by:
 decrementin interfaceIteratorSTL<T>- Overrides:
 decrementin classSetIterator<T>- Returns:
 - a reference to the iterator itself
 
 
- 
delete
public void delete()
 
- 
isBegin
public boolean isBegin()
Description copied from interface:IteratorSTLReturns 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:
 isBeginin interfaceIteratorSTL<T>- Overrides:
 isBeginin classSetIterator<T>- Returns:
 - true if the iterator is positioned on the first element of the collection.
 
 
- 
equals
public boolean equals(java.lang.Object obj)
- Overrides:
 equalsin classSetIterator<T>
 
- 
hashCode
public int hashCode()
- Overrides:
 hashCodein classSetIterator<T>
 
 - 
 
 -