public class JamClassIterator extends Object implements Iterator
| Constructor and Description |
|---|
JamClassIterator(JamClassLoader loader,
String[] classes)
Constructs a new JamClassIterator
|
| Modifier and Type | Method and Description |
|---|---|
int |
getSize() |
boolean |
hasNext()
Returns true if classes remain to be iterated upon.
|
Object |
next()
Returns the next class.
|
JClass |
nextClass()
Returns the next class.
|
void |
remove()
Not supported.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic JamClassIterator(JamClassLoader loader, String[] classes)
loader - JamClassLoader from which to load the classesclasses - Array of full-qualified classnames to iterate on.IllegalArgumentException - if either argument is null.public JClass nextClass()
IndexOutOfBoundsException - if there are no classes left to
iterate on.public boolean hasNext()
public Object next()
next in interface IteratorIndexOutOfBoundsException - if there are no classes left to
iterate on.public int getSize()
public void remove()
remove in interface IteratorUnsupportedOperationExceptionCopyright © 2010 - 2020 Adobe. All Rights Reserved