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, wait
Methods declared in interface java.lang.Iterable
forEach, spliterator
Methods 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.Iterator
Returnstrue
if the iteration has more elements. (In other words, returnstrue
ifIterator.next()
would return an element rather than throwing an exception.)- Specified by:
hasNext
in interfaceIterator<J9ROMClassAndMethod>
- Returns:
true
if the iteration has more elements
-
next
Description copied from interface:java.util.Iterator
Returns the next element in the iteration.- Specified by:
next
in interfaceIterator<J9ROMClassAndMethod>
- Returns:
- the next element in the iteration
-
iterator
Description copied from interface:java.lang.Iterable
Returns an iterator over elements of typeT
.- Specified by:
iterator
in interfaceIterable<J9ROMClassAndMethod>
- Returns:
- an Iterator.
-