public class MosaicId
extends java.lang.Object
| Constructor and Description |
|---|
MosaicId(java.math.BigInteger id)
Create MosaicId from biginteger id
|
MosaicId(java.lang.String id)
Create MosaicId from mosaic and namespace string name (ex: nem:xem or domain.subdom.subdome:token)
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o)
Compares mosaicIds for equality.
|
java.util.Optional<java.lang.String> |
getFullName()
Returns optional mosaic full name, with namespace name (ex: nem:xem)
|
java.math.BigInteger |
getId()
Returns mosaic biginteger id
|
public MosaicId(java.lang.String id)
id - IllegalIdentifierException - MosaicId identifierpublic MosaicId(java.math.BigInteger id)
id - public java.math.BigInteger getId()
public java.util.Optional<java.lang.String> getFullName()
public boolean equals(java.lang.Object o)
equals in class java.lang.Object