|
JOELib Computational Chemistry Package |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjoelib.util.iterator.NativeValueIterator
Gets an iterator over native descriptor values (int or double) of this molecule.
NativeValueIterator nativeIt = mol.nativeValueIterator();
double value;
String descName;
while (nativeIt.hasNext())
{
value = nativeIt.nextDouble();
descName = nativeIt.actualName();
}
JOEMol.nativeValueIterator()| Constructor Summary | |
NativeValueIterator(JOEMol _mol,
GenericDataIterator _gdit)
Constructor for the GenericDataIterator object |
|
| Method Summary | |
String |
actualName()
|
boolean |
hasNext()
Description of the Method |
Object |
next()
Description of the Method |
double |
nextDouble()
|
int |
nextInt()
|
NativeValue |
nextNativeValue()
Description of the Method |
String |
nextString()
|
void |
remove()
Description of the Method |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public NativeValueIterator(JOEMol _mol,
GenericDataIterator _gdit)
| Method Detail |
public String actualName()
public boolean hasNext()
hasNext in interface Iteratorpublic Object next()
next in interface Iteratorpublic double nextDouble()
public int nextInt()
public NativeValue nextNativeValue()
public String nextString()
public void remove()
remove in interface Iterator
|
JOELib Computational Chemistry Package Comments and Questions? mail to J.K.Wegner |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||