org.apache.myfaces.buildtools.maven2.plugin.builder.trinidad.util
Class SortedIterator

java.lang.Object
  extended by org.apache.myfaces.buildtools.maven2.plugin.builder.trinidad.util.SortedIterator
All Implemented Interfaces:
Iterator

public class SortedIterator
extends Object
implements Iterator

SortedIterator presents the elements of another iterator in a sorted order.


Constructor Summary
SortedIterator(Iterator unsorted)
           
 
Method Summary
 boolean hasNext()
           
 Object next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SortedIterator

public SortedIterator(Iterator unsorted)
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator

next

public Object next()
Specified by:
next in interface Iterator

remove

public void remove()
Specified by:
remove in interface Iterator


Copyright © 2001-2011 The Apache Software Foundation. All Rights Reserved.