Class GCClassLoaderSegmentClassesIterator
java.lang.Object
com.ibm.j9ddr.vm29.j9.gc.GCBase
com.ibm.j9ddr.vm29.j9.gc.GCIterator
com.ibm.j9ddr.vm29.j9.gc.GCClassLoaderSegmentClassesIterator
- All Implemented Interfaces:
SlotIterator, Iterator
Iterator over the classes in the class segments of a class loader,
-
Method Details
-
from
public static GCClassLoaderSegmentClassesIterator from(com.ibm.j9ddr.vm29.pointer.generated.J9ClassLoaderPointer classLoader) throws CorruptDataException - Throws:
CorruptDataException
-
nextAddress
-
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.)- Returns:
true
if the iteration has more elements
-
next
public com.ibm.j9ddr.vm29.pointer.generated.J9ClassPointer next()Description copied from interface:java.util.Iterator
Returns the next element in the iteration.- Returns:
- the next element in the iteration
-