org.simBio.serialize
Class Collector
java.lang.Object
org.simBio.serialize.Collector
- All Implemented Interfaces:
- Visitor
public class Collector
- extends Object
- implements Visitor
Make a List of all the Node values in the model tree.
Treeに存在する全てのNodeの値をListにまとめる。
- Version:
- $Id: Collector.java,v 1.3 2006/12/07 02:11:28 nsarai Exp $
- Author:
- Nobuaki Sarai
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Collector
public Collector(Component component,
List list)
- Collect values.
- Parameters:
component
- root of the treelist
- list of values
visit
public void visit(Component component)
- Specified by:
visit
in interface Visitor
- Parameters:
component
- component Node of the model tree- See Also:
Visitor.visit(org.simBio.core.Component)
visit
public void visit(Composite composite)
- Specified by:
visit
in interface Visitor
- Parameters:
composite
- composite Node of the model tree- See Also:
Visitor.visit(org.simBio.core.Composite)
Copyright © 2005 Cell/Biodinamics simulation project. All Rights Reserved.