org.simBio.core
Class ReactorList

java.lang.Object
  extended by java.util.AbstractCollection
      extended by java.util.AbstractList
          extended by java.util.ArrayList
              extended by org.simBio.core.ReactorList
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Iterable, java.util.Collection, java.util.List, java.util.RandomAccess

public class ReactorList
extends java.util.ArrayList

List of the Reactors

Version:
$Id: ReactorList.java,v 1.2 2006/06/13 00:59:46 nsarai Exp $
Author:
Nobuaki Sarai
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
ReactorList()
           
 
Method Summary
 boolean add(java.lang.Object o)
          IResetBeforeCalcをimplimentsしているクラスはリセットする必要があるReactorとして登録する。
 void calculate(double t)
          clear value of All Reactors, and call calculate() of All Reactors
IResetBeforeCalcをimplimentsしているクラスの値をゼロにリセットした後、 全てのReactorのcalculate()を呼び出す。
 
Methods inherited from class java.util.ArrayList
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

ReactorList

public ReactorList()
Method Detail

calculate

public void calculate(double t)
clear value of All Reactors, and call calculate() of All Reactors
IResetBeforeCalcをimplimentsしているクラスの値をゼロにリセットした後、 全てのReactorのcalculate()を呼び出す。

Parameters:
t - time

add

public boolean add(java.lang.Object o)
IResetBeforeCalcをimplimentsしているクラスはリセットする必要があるReactorとして登録する。

Specified by:
add in interface java.util.Collection
Specified by:
add in interface java.util.List
Overrides:
add in class java.util.ArrayList
See Also:
Collection.add(java.lang.Object)


Copyright © 2002-2008 Cell/Biodinamics simulation project. All Rights Reserved.