public class SiteMaster extends SiteUUID
cache, leastSigBits, mostSigBits, numberGenerator, print_function, print_uuids, SIZE
Constructor and Description |
---|
SiteMaster() |
SiteMaster(String site) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Address other)
Compares this UUID with the specified UUID.
|
UUID |
copy() |
boolean |
equals(Object obj)
Compares this object to the specified object.
|
int |
hashCode()
Returns a hash code for this
UUID . |
String |
toString() |
getName, getSite, readExternal, readFrom, size, writeExternal, writeTo
add, add, digits, get, getContents, getLeastSignificantBits, getMostSignificantBits, printCache, randomUUID, remove, removeAll, retainAll, toStringLong
public SiteMaster()
public SiteMaster(String 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.
compareTo
in interface Comparable<Address>
compareTo
in class UUID
other
- UUID
to which this UUID
is to be comparedUUID
is less than, equal to, or greater than val
public boolean equals(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 © 2015 JBoss, a division of Red Hat. All rights reserved.