anvil.core.runtime
Class TypeIterator

java.lang.Object
  |
  +--anvil.core.runtime.TypeIterator
All Implemented Interfaces:
BindingIterator, java.util.Iterator

public class TypeIterator
extends java.lang.Object
implements BindingIterator

class TypeIterator


Field Summary
 
Fields inherited from interface anvil.java.util.BindingIterator
EMPTY
 
Constructor Summary
TypeIterator(java.util.Iterator iter)
           
 
Method Summary
 boolean hasNext()
           
 java.lang.Object next()
           
 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
 

Constructor Detail

TypeIterator

public TypeIterator(java.util.Iterator iter)
Method Detail

hasNext

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

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.

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