|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--server.ServerSurround
this is the class that will hold all servers that are around one
| Constructor Summary | |
ServerSurround()
constructor to ServerSurround |
|
| Method Summary | |
java.lang.String |
down()
the server that is below |
java.lang.String |
left()
the server that is to the left |
void |
printMe()
this will print the surrounding servers |
java.lang.String |
right()
the server that is to the right |
void |
set(java.lang.String up,
java.lang.String down,
java.lang.String left,
java.lang.String right)
this will set the surrounding servers |
void |
setDown(java.lang.String down)
set the server which is below |
void |
setLeft(java.lang.String left)
set the server which is to the left |
void |
setRight(java.lang.String right)
set the server which is to the right |
void |
setUp(java.lang.String up)
set the server which is above |
java.lang.String |
up()
the server that is above |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ServerSurround()
| Method Detail |
public void printMe()
public void set(java.lang.String up,
java.lang.String down,
java.lang.String left,
java.lang.String right)
up - the up serverdown - the down serverleft - the left serverright - the right serverpublic void setUp(java.lang.String up)
up - the up serverpublic void setDown(java.lang.String down)
public void setRight(java.lang.String right)
public void setLeft(java.lang.String left)
public java.lang.String up()
public java.lang.String down()
public java.lang.String right()
public java.lang.String left()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||