Constructor | Description |
---|---|
GroupIterator(Structure struct) |
Constructs a GroupIterator object.
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.Object |
clone() |
Creates and returns a copy of this object.
|
Chain |
getCurrentChain() |
Get the current Chain.
|
int |
getCurrentModel() |
Get the model number of the current model.
|
boolean |
hasNext() |
is there a group after the current one in the structure?
|
Group |
next() |
get next Group.
|
void |
remove() |
does nothing .
|
public GroupIterator(Structure struct)
struct
- a Structure objectpublic java.lang.Object clone()
clone
in class java.lang.Object
public boolean hasNext()
hasNext
in interface java.util.Iterator<Group>
public int getCurrentModel()
public Chain getCurrentChain()
public Group next() throws java.util.NoSuchElementException
next
in interface java.util.Iterator<Group>
java.util.NoSuchElementException
- ...public void remove()
remove
in interface java.util.Iterator<Group>