|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectnet.bluebones.boggle.GameId
public class GameId
A universally unique identifier for a game of Boggle.
| Constructor Summary | |
|---|---|
GameId(String serverAddress,
UID uid)
Initializes a new GameId. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
Determines if this GameId is the same as the
Object specified. |
int |
hashCode()
Returns a hash code value for the object. |
String |
serverAddress()
Gets the host IP or other address. |
String |
toString()
Gets a String representation of this GameId. |
UID |
uid()
Gets the game identifier. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public GameId(String serverAddress,
UID uid)
GameId.
serverAddress - String IP or other address of host.uid - UID game identifier.| Method Detail |
|---|
public String serverAddress()
String of host IP or other address.public UID uid()
UID game identifier.public boolean equals(Object o)
GameId is the same as the
Object specified.
equals in class Objecto - Object to compare with.public int hashCode()
java.util.Hashtable.
hashCode in class Objectint hash code value for this object.public String toString()
String representation of this GameId.
toString in class ObjectString representation.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||