|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectthings.universe.UniverseID
public class UniverseID
Universe IDENITY.
Version History
EPG - Adapted from another project - 23 SEP 03
| Field Summary | |
|---|---|
static long |
serialVersionUID
|
| Constructor Summary | |
|---|---|
UniverseID()
Create as a long ID from what we know about the system. |
|
UniverseID(java.lang.String name)
Create as an ID based on a string. |
|
| Method Summary | |
|---|---|
boolean |
equals(UniverseID other)
See if this object is equal to the passes object. |
java.lang.String |
getName()
Get the local name of the universe. |
java.lang.String |
toString()
Get the universe ID expressed as a string in hex |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final long serialVersionUID
| Constructor Detail |
|---|
public UniverseID()
public UniverseID(java.lang.String name)
name - The name. It should be locally unique.| Method Detail |
|---|
public boolean equals(UniverseID other)
other - object to compare
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||