|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.pacbell.jfai.toh.domain.Base
public class Base
The base has the pins to stack the disks. For now, the base has three pins called left, middle, and right.
| Constructor Summary | |
|---|---|
Base()
Default constructor. |
|
| Method Summary | |
|---|---|
List<Pin> |
getPins()
Gets the pins. |
Pin |
pinNamed(String name)
Answers the pin with the given name. |
Pin |
storagePin(Pin somePin,
Pin anotherPin)
Answers a pin that is different from each of the given pins. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Base()
| Method Detail |
|---|
public List<Pin> getPins()
public Pin pinNamed(String name)
name - Name of pin
public Pin storagePin(Pin somePin,
Pin anotherPin)
somePin - Name of first pinanotherPin - Name of second pin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||