|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.biojava.bio.structure.AtomIterator
public class AtomIterator
an iterator over all atoms of a structure / group.
| Constructor Summary | |
|---|---|
AtomIterator(Group g)
Constructs an AtomIterator object. |
|
AtomIterator(Structure struct)
Constructs an AtomIterator object. |
|
| Method Summary | |
|---|---|
boolean |
hasNext()
is there a next atom ? |
Object |
next()
return next atom. |
void |
remove()
does nothing. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AtomIterator(Structure struct)
struct - a Structure objectpublic AtomIterator(Group g)
g - a Group object| Method Detail |
|---|
public boolean hasNext()
hasNext in interface Iterator
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 | |||||||||