コード例 #1
0
 public void addPeople(People p) {
   peopleTree.add(p.getName(), people.getLength());
   people.add(p);
 }
コード例 #2
0
 public void addTopic(Topic i) {
   topicTree.add(i.getName(), topics.getLength());
   topics.add(i);
 }