|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.rubecula.util.SortedIterator
Class
Field Summary | |
private java.util.Iterator |
_Iterator
|
private java.util.TreeSet |
_Sorted
|
Constructor Summary | |
SortedIterator(java.util.Collection unsorted)
|
Method Summary | |
java.util.Enumeration |
getEnumeration()
|
boolean |
hasNext()
|
java.lang.Object |
next()
|
void |
remove()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private final java.util.TreeSet _Sorted
private final java.util.Iterator _Iterator
Constructor Detail |
public SortedIterator(java.util.Collection unsorted)
unsorted
- the Collection to be sorted_Sorted
,
{@link #_Iterator} is set to the value of {@link #_Sorted}.{@link TreeSet#iterator()}
Method Detail |
public boolean hasNext()
hasNext
in interface java.util.Iterator
public java.lang.Object next()
next
in interface java.util.Iterator
public void remove()
remove
in interface java.util.Iterator
public java.util.Enumeration getEnumeration()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |