Package types.generated
Record Class Quadbin
java.lang.Object
java.lang.Record
types.generated.Quadbin
A cell of the Quadbin grid, the base type of TQuadbin and QuadbinSet, passed by value as H3Index is.
MEOS passes it by value, as its C type Quadbin: the record holds that value.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final longThe field for thevaluerecord component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasHexWKB(byte variant) asHexWKB, through MEOSquadbin_as_hexwkb.asText()asText, through MEOSquadbin_out.byte[]asWKB(byte variant) asWKB, through MEOSquadbin_as_wkb.final booleanIndicates whether some other object is "equal to" this one.static QuadbinfromHexWKB(String hexwkb) fromHexWKB, through MEOSquadbin_from_hexwkb.static QuadbinfromText, through MEOSquadbin_in.static QuadbinfromWKB(byte[] wkb) fromWKB, through MEOSquadbin_from_wkb.final inthashCode()Returns a hash code value for this object.toString()The text MEOS writes this value as.longvalue()Returns the value of thevaluerecord component.
-
Field Details
-
value
private final long valueThe field for thevaluerecord component.
-
-
Constructor Details
-
Quadbin
public Quadbin(long value) Creates an instance of aQuadbinrecord class.- Parameters:
value- the value for thevaluerecord component
-
-
Method Details
-
asHexWKB
asHexWKB, through MEOSquadbin_as_hexwkb. -
fromHexWKB
fromHexWKB, through MEOSquadbin_from_hexwkb. -
asText
asText, through MEOSquadbin_out. -
fromText
fromText, through MEOSquadbin_in. -
asWKB
public byte[] asWKB(byte variant) asWKB, through MEOSquadbin_as_wkb. -
fromWKB
fromWKB, through MEOSquadbin_from_wkb. -
toString
The text MEOS writes this value as. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with '=='. -
value
public long value()Returns the value of thevaluerecord component.- Returns:
- the value of the
valuerecord component
-