|
||||||||||
| 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()
|
boolean |
hasNext()
is there a group after the current one in the structure? |
Object |
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 Iteratorpublic Chain getCurrentChain()
public Object next()
throws NoSuchElementException
next in interface IteratorNoSuchElementException - ...public void remove()
remove in interface Iterator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||