dsto.dfc.collections
Class EmptyIterator

java.lang.Object
  extended by dsto.dfc.collections.EmptyIterator
All Implemented Interfaces:
Singleton, Iterator

public class EmptyIterator
extends Object
implements Iterator, Singleton


Field Summary
static EmptyIterator INSTANCE
           
 
Method Summary
 boolean hasNext()
           
static
<T> Iterator<T>
iterator()
           
 Object next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final EmptyIterator INSTANCE
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

iterator

public static <T> Iterator<T> iterator()


Copyright © 2008 Commonwealth of Australia