Modifier and type | Property and description |
---|---|
java.util.UUID | iD Replies the participant identifier associated to this address. |
SpaceID | spaceID Replies the ID of the space related to this address. |
SpaceID | spaceId Replies the ID of the space related to this address.
Deprecated for removal since 0.7: since 0.7, see getSpaceID() for replacement.
|
java.util.UUID | uUID Replies the participant identifier associated to this address.
Deprecated for removal since 0.12: since 0.12, see getID()
|
Constructor and description |
---|
new(SpaceID,UUID) Create an address based on the specified identifier. |
Modifier and type | Action and description |
---|---|
Address | clone |
int | compareTo(Address) Compares this object with the specified object for order. |
boolean | equals(Address) Test if this address and the given one are equal. |
boolean | equals(Object) |
java.util.UUID | getID Replies the participant identifier associated to this address. |
SpaceID | getSpaceID Replies the ID of the space related to this address. |
SpaceID | getSpaceId Replies the ID of the space related to this address.
Deprecated for removal since 0.7: since 0.7, see getSpaceID() for replacement.
|
java.util.UUID | getUUID Replies the participant identifier associated to this address.
Deprecated for removal since 0.12: since 0.12, see getID()
|
int | hashCode |
java.lang.String | toString |
val iD : java.util.UUID
This property is an alias for the action: getID
val spaceID : SpaceID
This property is an alias for the action: getSpaceID
val spaceId : SpaceID
This property is an alias for the action: getSpaceId
val uUID : java.util.UUID
This property is an alias for the action: getUUID
new(SpaceID,UUID)
def clone : Address
def compareTo(Address) : int
sgn(x.compareTo(y)) ==br -sgn(y.compareTo(x))
for all x
and y
. (This implies that x.compareTo(y)
must throw an exception iff y.compareTo(x)
throws an exception.)
The implementor must also ensure that the relation is transitive: (x.compareTo(y)>0 && y.compareTo(z)>0)
implies x.compareTo(z)>0
.
Finally, the implementor must ensure that x.compareTo(y)==0
implies that sgn(x.compareTo(z)) == sgn(y.compareTo(z))
, for all z
.
It is strongly recommended, but not strictly required that (x.compareTo(y)==0) == (x.equals(y))
. Generally speaking, any class that implements the Comparable
interface and violates this condition should clearly indicate this fact. The recommended language is "Note: this class has a natural ordering that is inconsistent with equals."
In the foregoing description, the notation sgn(
expression )
designates the mathematical signum function, which is defined to return one of -1
, 0
, or 1
according to whether the value of expression is negative, zero or positive.
def equals(Address) : boolean
def equals(Object) : boolean
def getID : java.util.UUID
def getSpaceID : SpaceID
def getSpaceId : SpaceID
def getUUID : java.util.UUID
def hashCode : int
def toString : java.lang.String