anvil.java.util
Class EmptyIterator

java.lang.Object
  |
  +--anvil.java.util.EmptyIterator
All Implemented Interfaces:
BindingIterator, java.util.Enumeration, java.util.Iterator

public class EmptyIterator
extends java.lang.Object
implements BindingIterator, java.util.Enumeration

class EmptyIterator


Field Summary
 
Fields inherited from interface anvil.java.util.BindingIterator
EMPTY
 
Method Summary
 boolean hasMoreElements()
           
 boolean hasNext()
           
 java.lang.Object next()
           
 java.lang.Object nextElement()
           
 java.lang.Object nextKey()
          Note: this method should not move the iterator to next element.
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

nextKey

public java.lang.Object nextKey()
Description copied from interface: BindingIterator
Note: this method should not move the iterator to next element.

Specified by:
nextKey in interface BindingIterator
Returns:
Next key in iterator.

hasNext

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

next

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

remove

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

hasMoreElements

public boolean hasMoreElements()
Specified by:
hasMoreElements in interface java.util.Enumeration

nextElement

public java.lang.Object nextElement()
Specified by:
nextElement in interface java.util.Enumeration