org.simBio.core
Class ReactorList
java.lang.Object
java.util.AbstractCollection
java.util.AbstractList
java.util.ArrayList
org.simBio.core.ReactorList
- All Implemented Interfaces:
- Serializable, Cloneable, Iterable, Collection, List, RandomAccess
public class ReactorList
- extends 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
Method Summary |
boolean |
add(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 |
ReactorList
public ReactorList()
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(Object o)
- IResetBeforeCalcをimplimentsしているクラスはリセットする必要があるReactorとして登録する。
- Specified by:
add
in interface Collection
- Specified by:
add
in interface List
- Overrides:
add
in class ArrayList
- See Also:
Collection.add(java.lang.Object)
Copyright © 2005 Cell/Biodinamics simulation project. All Rights Reserved.