java.lang.Object
com.ibm.j9ddr.vm29.j9.walkers.ClassIterator
- All Implemented Interfaces:
Iterator<com.ibm.j9ddr.vm29.pointer.generated.J9ClassPointer>
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
ClassIterator
(Iterator<com.ibm.j9ddr.vm29.pointer.generated.J9ClassPointer> iterator) -
Method Summary
Modifier and TypeMethodDescriptionstatic Iterator<com.ibm.j9ddr.vm29.pointer.generated.J9ClassPointer>
fromJ9Classloader
(com.ibm.j9ddr.vm29.pointer.generated.J9ClassLoaderPointer loader) boolean
hasNext()
Returnstrue
if the iteration has more elements.com.ibm.j9ddr.vm29.pointer.generated.J9ClassPointer
next()
Returns the next element in the iteration.Methods declared in class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods declared in interface java.util.Iterator
forEachRemaining, remove
-
Field Details
-
logger
-
-
Constructor Details
-
ClassIterator
-
-
Method Details
-
fromJ9Classloader
public static Iterator<com.ibm.j9ddr.vm29.pointer.generated.J9ClassPointer> fromJ9Classloader(com.ibm.j9ddr.vm29.pointer.generated.J9ClassLoaderPointer loader) throws CorruptDataException - Throws:
CorruptDataException
-
hasNext
public boolean hasNext()Description copied from interface:java.util.Iterator
Returnstrue
if the iteration has more elements. (In other words, returnstrue
ifIterator.next()
would return an element rather than throwing an exception.) -
next
public com.ibm.j9ddr.vm29.pointer.generated.J9ClassPointer next()Description copied from interface:java.util.Iterator
Returns the next element in the iteration.
-