public class SiteMaster extends SiteUUID
can_become_site_master, flags, keys, site_master, values
cache, leastSigBits, mostSigBits, numberGenerator, print_function, print_uuids, SIZE
Constructor and Description |
---|
SiteMaster() |
SiteMaster(byte[] site) |
SiteMaster(java.lang.String site) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Address other)
Compares this UUID with the specified UUID.
|
UUID |
copy() |
boolean |
equals(java.lang.Object obj)
Compares this object to the specified object.
|
int |
hashCode()
Returns a hash code for this
UUID . |
java.lang.String |
toString() |
getName, getSite, print, printOthers
addContents, clearFlag, flagsToString, get, get, isFlagSet, keyExists, keyExists, length, print, put, put, put, randomUUID, randomUUID, read, readExternal, readFrom, remove, remove, resize, setFlag, size, sizeofHashMap, write, writeExternal, writeTo
add, add, digits, fromString, generateRandomBytes, get, getByName, getContents, getLeastSignificantBits, getMostSignificantBits, printCache, remove, removeAll, retainAll, toStringLong
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
readFrom, writeTo
public SiteMaster()
public SiteMaster(java.lang.String site)
public SiteMaster(byte[] site)
public int compareTo(Address other)
UUID
The first of two UUIDs is greater than the second if the most significant field in which the UUIDs differ is greater for the first UUID.
public boolean equals(java.lang.Object obj)
UUID
true
if and only if the argument is not null
, is a UUID
object, has the same variant, and contains the same value, bit for bit,
as this UUID
.public int hashCode()
UUID
UUID
.Copyright © 1998-2020 Red Hat. All Rights Reserved.