meshi.molecularElements.atoms
Class MolecularSystem

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList<AtomCore>
              extended by meshi.molecularElements.atoms.MolecularSystem
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<AtomCore>, java.util.Collection<AtomCore>, java.util.List<AtomCore>, java.util.RandomAccess

public class MolecularSystem
extends java.util.ArrayList<AtomCore>

See Also:
Serialized Form

Field Summary
private static MolecularSystem currentMolecularSystem
           
 int ID
           
private  int numberOfAtoms
           
private static int numberOfMolecularSystems
           
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
MolecularSystem()
           
 
Method Summary
protected  AtomCore createAtomCore(Atom atom, AtomType type, AtomStatus status, double x, double y, double z)
           
static MolecularSystem currentMolecularSystem()
           
static void setCurrentMolecularSystem(MolecularSystem ms)
           
 java.lang.String toString()
           
 
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, removeAll, retainAll
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList
 

Field Detail

ID

public final int ID

numberOfMolecularSystems

private static int numberOfMolecularSystems

currentMolecularSystem

private static MolecularSystem currentMolecularSystem

numberOfAtoms

private int numberOfAtoms
Constructor Detail

MolecularSystem

public MolecularSystem()
Method Detail

currentMolecularSystem

public static MolecularSystem currentMolecularSystem()

setCurrentMolecularSystem

public static void setCurrentMolecularSystem(MolecularSystem ms)

toString

public java.lang.String toString()
Overrides:
toString in class java.util.AbstractCollection<AtomCore>

createAtomCore

protected AtomCore createAtomCore(Atom atom,
                                  AtomType type,
                                  AtomStatus status,
                                  double x,
                                  double y,
                                  double z)