java.lang.Object
com.ibm.j9ddr.vm29.tools.ddrinteractive.FilteredROMMethodsIterator
- All Implemented Interfaces:
Iterable<J9ROMClassAndMethod>,Iterator<J9ROMClassAndMethod>
public class FilteredROMMethodsIterator
extends Object
implements Iterator<J9ROMClassAndMethod>, Iterable<J9ROMClassAndMethod>
-
Constructor Summary
ConstructorsConstructorDescriptionFilteredROMMethodsIterator(PrintStream out, Context context, String methodPattern) -
Method Summary
Methods declared in class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods declared in interface java.lang.Iterable
forEach, spliteratorMethods declared in interface java.util.Iterator
forEachRemaining, remove
-
Constructor Details
-
FilteredROMMethodsIterator
public FilteredROMMethodsIterator(PrintStream out, Context context, String methodPattern) throws CorruptDataException - 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.)- Specified by:
hasNextin interfaceIterator<J9ROMClassAndMethod>- Returns:
trueif the iteration has more elements
-
next
Description copied from interface:java.util.IteratorReturns the next element in the iteration.- Specified by:
nextin interfaceIterator<J9ROMClassAndMethod>- Returns:
- the next element in the iteration
-
iterator
Description copied from interface:java.lang.IterableReturns an iterator over elements of typeT.- Specified by:
iteratorin interfaceIterable<J9ROMClassAndMethod>- Returns:
- an Iterator.
-