Mercurial > hg > Database > Christie
view src/main/java/christie/topology/manager/Parent.java @ 98:c0ce4d151f93
update uncomment System.exit
author | akahori |
---|---|
date | Tue, 18 Sep 2018 09:22:48 +0900 |
parents | 2314c55534ef |
children |
line wrap: on
line source
package christie.topology.manager; public class Parent { private String name; private int children = 0; public Parent(String name) { this.name = name; } public int children() { return children; } public void setChildren(int num) { children = num; } public String getName() { return name; } public void setName(String n) { name = n; } public void increment() { children++; } public void decrement() { children--; } }