Package org.symbol.sdk.symbol.models
Class ImportanceHeight
- All Implemented Interfaces:
Comparable<ImportanceHeight>,Serializer
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new ImportanceHeight.ImportanceHeight(long value) Creates a new ImportanceHeight. -
Method Summary
Modifier and TypeMethodDescriptionstatic ImportanceHeightdeserialize(ByteBuffer buffer) Deserializes an instance of this object from a byte payload.static ImportanceHeightParses a raw value (ImportanceHeight, number, or decimal/0x-hex string) into a ImportanceHeight.
-
Field Details
-
SIZE
public static final int SIZE- See Also:
-
IS_SIGNED
public static final boolean IS_SIGNED- See Also:
-
-
Constructor Details
-
ImportanceHeight
public ImportanceHeight(long value) Creates a new ImportanceHeight.- Parameters:
value- Value.
-
ImportanceHeight
public ImportanceHeight()Creates a new ImportanceHeight.
-
-
Method Details
-
parse
- ImportanceHeight.parse
- Parses a raw value (ImportanceHeight, number, or decimal/0x-hex string) into a ImportanceHeight.
- Parameters:
rawValue- Raw value.- Returns:
- Parsed value.
-
deserialize
- ImportanceHeight.deserialize
- Deserializes an instance of this object from a byte payload.
- Parameters:
buffer- Output writer.- Returns:
- Deserialized object.
- Throws:
IndexOutOfBoundsException- if the buffer is truncated or a declared length overruns itIllegalArgumentException- if a field carries an invalid value (e.g. a reserved field or unknown discriminator)
-