public class JamClassIterator
extends java.lang.Object
implements java.util.Iterator
| Constructor and Description |
|---|
JamClassIterator(JamClassLoader loader,
java.lang.String[] classes)
Constructs a new JamClassIterator
|
public JamClassIterator(JamClassLoader loader, java.lang.String[] classes)
loader - JamClassLoader from which to load the classesclasses - Array of full-qualified classnames to iterate on.java.lang.IllegalArgumentException - if either argument is null.public JClass nextClass()
java.lang.IndexOutOfBoundsException - if there are no classes left to
iterate on.public boolean hasNext()
hasNext in interface java.util.Iteratorpublic java.lang.Object next()
next in interface java.util.Iteratorjava.lang.IndexOutOfBoundsException - if there are no classes left to
iterate on.public int getSize()
public void remove()
remove in interface java.util.Iteratorjava.lang.UnsupportedOperationException