public class Nickname extends java.lang.Object implements DateHolder
Constructor and Description |
---|
Nickname(java.lang.String name,
long date,
java.util.UUID serverUUID) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
long |
getDate()
Get the date the object holds.
|
java.lang.String |
getName() |
java.util.UUID |
getServerUUID() |
int |
hashCode() |
java.lang.String |
toString() |
public Nickname(java.lang.String name, long date, java.util.UUID serverUUID)
public java.lang.String getName()
public long getDate()
DateHolder
getDate
in interface DateHolder
public java.util.UUID getServerUUID()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object