Mercurial > hg > Members > tatsuki > Alice
view src/alice/test/topology/ring/RingTopologyConfig.java @ 45:ae24d5d40c10
add to calculate the time of RingTopology required
author | kazz <kazz@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 04 Feb 2012 14:31:07 +0900 |
parents | b5a21baf0b07 |
children | 1a498f436332 |
line wrap: on
line source
package alice.test.topology.ring; import alice.topology.node.TopologyNodeConfig; public class RingTopologyConfig extends TopologyNodeConfig { public int count = 10; public RingTopologyConfig(String[] args) { super(args); for (int i = 0; i< args.length; i++) { if ("-count".equals(args[i])) { this.count = new Integer(args[++i]); } } } }