meshi.energy
Class AbstractEnergy.UpdateableList

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

protected class AbstractEnergy.UpdateableList
extends java.util.ArrayList<Updateable>

A list of updateable elements (implementing the meshi.util.Updateable interface).

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
AbstractEnergy.UpdateableList()
           
AbstractEnergy.UpdateableList(Updateable[] array)
           
 
Method Summary
 void update(int numberOfUpdates)
          Iterates over the list updates each of its elements.
 
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
 

Constructor Detail

AbstractEnergy.UpdateableList

public AbstractEnergy.UpdateableList(Updateable[] array)

AbstractEnergy.UpdateableList

public AbstractEnergy.UpdateableList()
Method Detail

update

public void update(int numberOfUpdates)
            throws UpdateableException
Iterates over the list updates each of its elements.

Throws:
UpdateableException