org.decisiondeck.xmcda_oo.utils
Class NavigableSetBackedOrderedIterator<T>

java.lang.Object
  extended by org.decisiondeck.xmcda_oo.utils.NavigableSetBackedOrderedIterator<T>
All Implemented Interfaces:
Iterator<T>, org.apache.commons.collections15.OrderedIterator<T>

public class NavigableSetBackedOrderedIterator<T>
extends Object
implements org.apache.commons.collections15.OrderedIterator<T>


Constructor Summary
NavigableSetBackedOrderedIterator(NavigableSet<T> navigable)
           
 
Method Summary
 boolean hasNext()
           
 boolean hasPrevious()
           
 T next()
           
 T previous()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NavigableSetBackedOrderedIterator

public NavigableSetBackedOrderedIterator(NavigableSet<T> navigable)
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator<T>

hasPrevious

public boolean hasPrevious()
Specified by:
hasPrevious in interface org.apache.commons.collections15.OrderedIterator<T>

next

public T next()
Specified by:
next in interface Iterator<T>

previous

public T previous()
Specified by:
previous in interface org.apache.commons.collections15.OrderedIterator<T>

remove

public void remove()
Specified by:
remove in interface Iterator<T>


Copyright © 2011. All Rights Reserved.