org.jikesrvm.compilers.opt.util
Class EmptyIterator

java.lang.Object
  extended by org.jikesrvm.compilers.opt.util.EmptyIterator
All Implemented Interfaces:
Iterator<Object>

public class EmptyIterator
extends Object
implements Iterator<Object>


Field Summary
static EmptyIterator INSTANCE
           
 
Constructor Summary
EmptyIterator()
           
 
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
 

Field Detail

INSTANCE

public static final EmptyIterator INSTANCE
Constructor Detail

EmptyIterator

public EmptyIterator()
Method Detail

hasNext

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

next

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

remove

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