Package in.dragonbra.javasteam.types
Class GlobalID
- java.lang.Object
-
- in.dragonbra.javasteam.types.GlobalID
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)Determines whether the specifiedObjectis equal to this instance.longgetBoxID()Gets the box ID of the server that generated this GID.longgetProcessID()Gets the process ID of the server that generated this GID.longgetSequentialCount()Gets the sequential count for this GID.java.util.DategetStartTime()Gets the start time of the server that generated this GID.longgetValue()Sets the entire 64bit value of this GID.inthashCode()Returns a hash code for this instance.voidsetBoxID(long value)Sets the box ID of the server that generated this GID.voidsetProcessID(long value)Sets the process ID of the server that generated this GID.voidsetSequentialCount(long value)Sets the sequential count for this GID.voidsetStartTime(java.util.Date startTime)Sets the start time of the server that generated this GID.voidsetValue(long value)Sets the entire 64bit value of this GID.java.lang.StringtoString()Returns aStringthat represents this instance.
-
-
-
Method Detail
-
setSequentialCount
public void setSequentialCount(long value)
Sets the sequential count for this GID.- Parameters:
value- The sequential count.
-
getSequentialCount
public long getSequentialCount()
Gets the sequential count for this GID.- Returns:
- The sequential count.
-
setStartTime
public void setStartTime(java.util.Date startTime)
Sets the start time of the server that generated this GID.- Parameters:
startTime- The start time.
-
getStartTime
public java.util.Date getStartTime()
Gets the start time of the server that generated this GID.- Returns:
- The start time.
-
setProcessID
public void setProcessID(long value)
Sets the process ID of the server that generated this GID.- Parameters:
value- The process ID.
-
getProcessID
public long getProcessID()
Gets the process ID of the server that generated this GID.- Returns:
- The process ID.
-
setBoxID
public void setBoxID(long value)
Sets the box ID of the server that generated this GID.- Parameters:
value- The box ID.
-
getBoxID
public long getBoxID()
Gets the box ID of the server that generated this GID.- Returns:
- The box ID.
-
setValue
public void setValue(long value)
Sets the entire 64bit value of this GID.- Parameters:
value- The value.
-
getValue
public long getValue()
Sets the entire 64bit value of this GID.- Returns:
- The value.
-
equals
public boolean equals(java.lang.Object obj)
Determines whether the specifiedObjectis equal to this instance.- Overrides:
equalsin classjava.lang.Object- Parameters:
obj- TheObjectto compare with this instance.- Returns:
- true if the specified
Objectis equal to this instance; otherwise, false.
-
hashCode
public int hashCode()
Returns a hash code for this instance.- Overrides:
hashCodein classjava.lang.Object- Returns:
- A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
-
toString
public java.lang.String toString()
Returns aStringthat represents this instance.- Overrides:
toStringin classjava.lang.Object- Returns:
- A
Stringthat represents this instance.
-
-