java.lang.Object
com.ibm.j9ddr.vm29.j9.walkers.ClassSegmentIterator
- All Implemented Interfaces:
Iterator
-
Constructor Summary
ConstructorsConstructorDescriptionClassSegmentIterator(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, waitMethods 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.IteratorReturnstrueif the iteration has more elements. (In other words, returnstrueifIterator.next()would return an element rather than throwing an exception.) -
next
Description copied from interface:java.util.IteratorReturns the next element in the iteration.
-