etomica.api
Interface IAtomList

All Known Implementing Classes:
AtomArrayList, AtomListWrapper, AtomPair, AtomsetArray, AtomSetSinglet

public interface IAtomList

Interface for a set of IAtoms. The IAtomSet might contain 0, 1, 2 or many IAtoms.


Method Summary
 IAtom getAtom(int i)
          Returns the i-th atom, with numbering beginning from 0.
 int getAtomCount()
           
 

Method Detail

getAtom

IAtom getAtom(int i)
Returns the i-th atom, with numbering beginning from 0. If i is greater than count-1, throws an IllegalArgumentException.


getAtomCount

int getAtomCount()
Returns:
the number of atoms in the set