Mercurial > hg > Members > nobuyasu > Alice > DPPAlice
view src/alice/test/dpp/model/Philosophy.java @ 10:60539f5d514e
modified Fork.TABLE
author | one |
---|---|
date | Sun, 25 Nov 2012 17:53:20 +0900 |
parents | cd80e302a3c4 |
children | 33727db069c2 |
line wrap: on
line source
package alice.test.dpp.model; public class Philosophy { private final String name, leftFork, rightFork; public Philosophy(String n,String lFork, String rFork) { name = n; leftFork = lFork; rightFork = rFork; } public Philosophy(Philosophy p) { name = p.getName(); leftFork = p.getLeftFork(); rightFork = p.getRightFork(); } public String getName() { return name; } public String getLeftFork() { return leftFork; } public String getRightFork() { return rightFork; } }