meshi.energy.templateEnergy
Class TemplateEnergyElementsList

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList<TemplateEnergyElement>
              extended by meshi.energy.templateEnergy.TemplateEnergyElementsList
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<TemplateEnergyElement>, java.util.Collection<TemplateEnergyElement>, java.util.List<TemplateEnergyElement>, java.util.RandomAccess, Updateable

public class TemplateEnergyElementsList
extends java.util.ArrayList<TemplateEnergyElement>
implements Updateable

See Also:
Serialized Form

Field Summary
private  int numberOfUpdates
           
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
TemplateEnergyElementsList()
           
 
Method Summary
 void update()
           
 void update(int numberOfUpdates)
          Updates the distances.
 
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, toString
 
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

numberOfUpdates

private int numberOfUpdates
Constructor Detail

TemplateEnergyElementsList

public TemplateEnergyElementsList()
Method Detail

update

public void update(int numberOfUpdates)
            throws UpdateableException
Updates the distances.

Specified by:
update in interface Updateable
Throws:
UpdateableException

update

public void update()