|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.biojava.bio.structure.GroupIterator
public class GroupIterator
An iterator over all groups of a structure.
| Constructor Summary | |
|---|---|
GroupIterator(Structure struct)
Constructs a GroupIterator object. |
|
| Method Summary | |
|---|---|
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 . |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GroupIterator(Structure struct)
struct - a Structure object| Method Detail |
|---|
public Object clone()
clone in class Objectpublic boolean hasNext()
hasNext in interface Iterator<Group>public int getCurrentModel()
public Chain getCurrentChain()
public Group next()
throws NoSuchElementException
next in interface Iterator<Group>NoSuchElementException - ...public void remove()
remove in interface Iterator<Group>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||