Identifier
, Comparable<Identifier>
, net.minidev.json.JSONAware
public final class CID extends BaseIdentifier
DEFAULT_BYTE_LENGTH, SECURE_RANDOM
Constructor | Description |
---|---|
CID() |
Creates a new unique connection identifier (CID) based on a secure
randomly generated 256-bit number, Base64URL-encoded.
|
CID(String value) |
Creates a new connection identifier (CID) from the specified string.
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
equals(Object object) |
Overrides
Object.equals() . |
compareTo, hashCode, toJSONString, toString
public CID()
public boolean equals(Object object)
BaseIdentifier
Object.equals()
.equals
in class BaseIdentifier
object
- The object to compare to.true
if the objects have the same value, otherwise
false
.Copyright © 2018 Connect2id. All rights reserved.