Class Height

java.lang.Object
org.symbol.sdk.BaseValue<Height>
org.symbol.sdk.symbol.models.Height
All Implemented Interfaces:
Comparable<Height>, Serializer

public final class Height extends BaseValue<Height>
  • Field Details

  • Constructor Details

    • Height

      public Height(long value)
      Creates a new Height.
      Parameters:
      value - Value.
    • Height

      public Height()
      Creates a new Height.
  • Method Details

    • parse

      public static Height parse(Object rawValue)
      Height.parse
      Parses a raw value (Height, number, or decimal/0x-hex string) into a Height.
      Parameters:
      rawValue - Raw value.
      Returns:
      Parsed value.
    • deserialize

      public static Height deserialize(ByteBuffer buffer)
      Height.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 it
      IllegalArgumentException - if a field carries an invalid value (e.g. a reserved field or unknown discriminator)