org.jscience.ml.gml.dom
Class UnknownConstructIteratorImpl

java.lang.Object
  extended by org.jscience.ml.gml.dom.UnknownConstructIteratorImpl
All Implemented Interfaces:
java.util.Iterator, UnknownConstructIterator

public class UnknownConstructIteratorImpl
extends java.lang.Object
implements UnknownConstructIterator

A sample implementation of the UnknownConstructIterator interface.


Constructor Summary
UnknownConstructIteratorImpl(java.util.Iterator iterator)
          Constructs this iterator as a type-safe wrapper around another iterator.
 
Method Summary
 boolean hasNext()
          DOCUMENT ME!
 java.lang.Object next()
          DOCUMENT ME!
 UnknownConstruct nextUnknownConstruct()
          Convenience method that makes this iterator type-safe.
 void remove()
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnknownConstructIteratorImpl

public UnknownConstructIteratorImpl(java.util.Iterator iterator)
Constructs this iterator as a type-safe wrapper around another iterator.

Parameters:
iterator - DOCUMENT ME!
Method Detail

nextUnknownConstruct

public UnknownConstruct nextUnknownConstruct()
Convenience method that makes this iterator type-safe.

Specified by:
nextUnknownConstruct in interface UnknownConstructIterator
Returns:
DOCUMENT ME!

next

public java.lang.Object next()
DOCUMENT ME!

Specified by:
next in interface java.util.Iterator
Returns:
DOCUMENT ME!

hasNext

public boolean hasNext()
DOCUMENT ME!

Specified by:
hasNext in interface java.util.Iterator
Returns:
DOCUMENT ME!

remove

public void remove()
DOCUMENT ME!

Specified by:
remove in interface java.util.Iterator