public class ContextPartitionIdentifierHash extends ContextPartitionIdentifier
Constructor and Description |
---|
ContextPartitionIdentifierHash()
Ctor.
|
ContextPartitionIdentifierHash(int hash)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
compareTo(ContextPartitionIdentifier other)
Compare identifiers returning a boolean indicator whether identifier information matches.
|
int |
getHash()
Returns the hash code.
|
void |
setHash(int hash)
Sets the hash code.
|
String |
toString() |
getContextPartitionId, setContextPartitionId
public ContextPartitionIdentifierHash()
public ContextPartitionIdentifierHash(int hash)
hash
- codepublic int getHash()
public void setHash(int hash)
hash
- hash codepublic boolean compareTo(ContextPartitionIdentifier other)
ContextPartitionIdentifier
compareTo
in class ContextPartitionIdentifier
other
- to compare to