Package io.objectbox.flatbuffers
Class FlexBuffers.Key
java.lang.Object
io.objectbox.flatbuffers.FlexBuffers.Object
io.objectbox.flatbuffers.FlexBuffers.Key
- Enclosing class:
FlexBuffers
Represents a key element in the buffer. Keys are
used to reference objects in a
FlexBuffers.Map-
Field Summary
FieldsFields inherited from class io.objectbox.flatbuffers.FlexBuffers.Object
bb, byteWidth, end -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) intcompareTo(byte[] other) static FlexBuffers.Keyempty()Return an emptyFlexBuffers.KeybooleanCompare keysinthashCode()toString()Appends a text(JSON) representation to a `StringBuilder`
-
Field Details
-
EMPTY
-
-
Constructor Details
-
Key
Key(ReadBuf buff, int end, int byteWidth)
-
-
Method Details
-
empty
Return an emptyFlexBuffers.Key- Returns:
- empty
FlexBuffers.Key
-
toString
Appends a text(JSON) representation to a `StringBuilder`- Specified by:
toStringin classFlexBuffers.Object
-
toString
- Overrides:
toStringin classFlexBuffers.Object
-
compareTo
int compareTo(byte[] other) -
equals
Compare keys -
hashCode
public int hashCode()
-