Module java4ever.binding
Package tech.deplant.java4ever.binding
Record Class Boc.BuilderOp.BitString
java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.Boc.BuilderOp.BitString
- Record Components:
value- Contains hexadecimal string representation: - Can end with `_` tag. - Can be prefixed with `x` or `X`. - Can be prefixed with `x{` or `X{` and ended with `}`. Contains binary string represented as a sequence of `0` and `1` prefixed with `n` or `N`. Examples: `1AB`, `x1ab`, `X1AB`, `x{1abc}`, `X{1ABC}` `2D9_`, `x2D9_`, `X2D9_`, `x{2D9_}`, `X{2D9_}` `n00101101100`, `N00101101100` Bit string content using bitstring notation. See `TON VM specification` 1.0.
- All Implemented Interfaces:
Boc.BuilderOp
- Enclosing interface:
Boc.BuilderOp
Append bit string to cell data.
-
Nested Class Summary
Nested classes/interfaces inherited from interface tech.deplant.java4ever.binding.Boc.BuilderOp
Boc.BuilderOp.Address, Boc.BuilderOp.BitString, Boc.BuilderOp.Cell, Boc.BuilderOp.CellBoc, Boc.BuilderOp.Integer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.type()value()Returns the value of thevaluerecord component.
-
Constructor Details
-
BitString
Creates an instance of aBitStringrecord class.- Parameters:
value- the value for thevaluerecord component
-
-
Method Details
-
type
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
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 withObjects::equals(Object,Object). -
value
Returns the value of thevaluerecord component.- Returns:
- the value of the
valuerecord component
-