public class ReadOnlyMessageIterator extends Object implements Iterator<Structure>
Constructor and Description |
---|
ReadOnlyMessageIterator(Group theRoot) |
Modifier and Type | Method and Description |
---|---|
static Iterator<Structure> |
createPopulatedSegmentIterator(Group theRoot) |
static Iterator<Structure> |
createPopulatedStructureIterator(Group theRoot,
Class<? extends Structure> c) |
static Iterator<Structure> |
createPopulatedStructureIterator(Group theRoot,
FilterIterator.Predicate<Structure> structureFilter) |
static Iterator<Structure> |
createPopulatedStructureIterator(Group theRoot,
String structureName) |
boolean |
hasNext() |
Structure |
next() |
void |
remove()
Not supported.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
public ReadOnlyMessageIterator(Group theRoot)
theRoot
- root of depth first iteration, which starts with the first childpublic static Iterator<Structure> createPopulatedSegmentIterator(Group theRoot)
theRoot
- root of depth first iteration, which starts with the first childpublic static Iterator<Structure> createPopulatedStructureIterator(Group theRoot, Class<? extends Structure> c)
theRoot
- root of depth first iteration, which starts with the first childc
- structure class to look forpublic static Iterator<Structure> createPopulatedStructureIterator(Group theRoot, String structureName)
theRoot
- root of depth first iteration, which starts with the first childstructureName
- structure name to look forpublic static Iterator<Structure> createPopulatedStructureIterator(Group theRoot, FilterIterator.Predicate<Structure> structureFilter)
theRoot
- root of depth first iteration, which starts with the first childstructureFilter
- filter classpublic boolean hasNext()
hasNext
in interface Iterator<Structure>
Iterator.hasNext()
public Structure next()
next
in interface Iterator<Structure>
Iterator.next()
Copyright © 2001–2017 University Health Network. All rights reserved.