MATES 3.0-rc2

org.mates.util
Class Bundle.BundleIterator

java.lang.Object
  extended byorg.mates.util.Bundle.BundleIterator
All Implemented Interfaces:
java.util.Iterator
Enclosing class:
Bundle

protected class Bundle.BundleIterator
extends java.lang.Object
implements java.util.Iterator

An iterator class for a Bundle.

Author:
Evan Sultanik

Constructor Summary
Bundle.BundleIterator(Bundle bundle)
          Default constructor.
 
Method Summary
 boolean hasNext()
           
 java.lang.Object next()
           
 void remove()
          Remove is not supported for this class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Bundle.BundleIterator

public Bundle.BundleIterator(Bundle bundle)
Default constructor.

Method Detail

hasNext

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

next

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

remove

public void remove()
            throws java.lang.UnsupportedOperationException
Remove is not supported for this class.

Specified by:
remove in interface java.util.Iterator
Throws:
java.lang.UnsupportedOperationException - every call.
See Also:
Iterator.remove()

MATES 3.0-rc2

Submit a bug or request a feature
http://mates.sourceforge.net/

Copyright 2004 Evan Sultanik