Class ServerUUID
- java.lang.Object
-
- com.djrapitops.plan.identification.ServerUUID
-
- All Implemented Interfaces:
java.io.Serializable
public class ServerUUID extends java.lang.Object implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ServerUUID(java.util.UUID uuid)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.UUID
asUUID()
boolean
equals(java.lang.Object o)
static ServerUUID
from(java.util.UUID uuid)
static ServerUUID
fromString(java.lang.String name)
int
hashCode()
static ServerUUID
randomUUID()
java.lang.String
toString()
-
-
-
Method Detail
-
from
public static ServerUUID from(java.util.UUID uuid)
-
fromString
public static ServerUUID fromString(java.lang.String name)
-
randomUUID
public static ServerUUID randomUUID()
-
asUUID
public java.util.UUID asUUID()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-