org.xshare.base.iterator
Class ReverseIterator

java.lang.Object
  |
  +--org.xshare.base.iterator.ReverseIterator
All Implemented Interfaces:
java.util.Iterator

public class ReverseIterator
extends java.lang.Object
implements java.util.Iterator

Version:
$Revision: 1.2 $
Author:
Oliver Fischer

Nested Class Summary
protected static class ReverseIterator.IteratorReverseIterator
           
 
Constructor Summary
ReverseIterator(java.util.Iterator pSourceIterator)
           
ReverseIterator(java.util.List pSourceList)
           
 
Method Summary
 boolean hasNext()
           
 java.lang.Object next()
           
 void remove()
           
protected  void setUsedIterator(java.util.Iterator pIterator)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReverseIterator

public ReverseIterator(java.util.Iterator pSourceIterator)

ReverseIterator

public ReverseIterator(java.util.List pSourceList)
Method Detail

remove

public void remove()
Specified by:
remove in interface java.util.Iterator

next

public java.lang.Object next()
Specified by:
next in interface java.util.Iterator

hasNext

public boolean hasNext()
Specified by:
hasNext in interface java.util.Iterator

setUsedIterator

protected void setUsedIterator(java.util.Iterator pIterator)


jKiska Base 0.10 [http://jkiska.sourceforge.net]