Class ClassSegmentIterator
java.lang.Object
com.ibm.j9ddr.vm29.j9.walkers.ClassSegmentIterator
-
Constructor Summary
ConstructorDescriptionClassSegmentIterator
(com.ibm.j9ddr.vm29.pointer.generated.J9MemorySegmentListPointer source) Iterate over all segments in source, regardless of classloader.ClassSegmentIterator
(com.ibm.j9ddr.vm29.pointer.generated.J9MemorySegmentPointer source) Iterate over all segments chained from source via J9MemorySegmentPointer.nextSegmentInClassLoader. -
Method Summary
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
-
Constructor Details
-
ClassSegmentIterator
public ClassSegmentIterator(com.ibm.j9ddr.vm29.pointer.generated.J9MemorySegmentListPointer source) throws CorruptDataException Iterate over all segments in source, regardless of classloader.- Parameters:
source
-- Throws:
CorruptDataException
-
ClassSegmentIterator
public ClassSegmentIterator(com.ibm.j9ddr.vm29.pointer.generated.J9MemorySegmentPointer source) throws CorruptDataException Iterate over all segments chained from source via J9MemorySegmentPointer.nextSegmentInClassLoader.- Parameters:
source
-- Throws:
CorruptDataException
-
-
Method Details
-
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
Description copied from interface:java.util.Iterator
Returns the next element in the iteration.
-