Constructor and Description |
---|
GroupIterator(Structure struct)
Constructs a GroupIterator object.
|
Modifier and Type | Method and Description |
---|---|
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 .
|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
public GroupIterator(Structure struct)
struct
- a Structure objectpublic Object clone()
public boolean hasNext()
public int getCurrentModel()
public Chain getCurrentChain()
public Group next() throws NoSuchElementException
next
in interface Iterator<Group>
NoSuchElementException
- ...Copyright © 2000–2016 BioJava. All rights reserved.