Class FlexBuffers.Key

  • Enclosing class:
    FlexBuffers

    public static class FlexBuffers.Key
    extends java.lang.Object
    Represents a key element in the buffer. Keys are used to reference objects in a FlexBuffers.Map
    • Method Detail

      • toString

        public java.lang.StringBuilder toString​(java.lang.StringBuilder sb)
        Appends a text(JSON) representation to a `StringBuilder`
      • toString

        public java.lang.String toString()
      • equals

        public boolean equals​(java.lang.Object obj)
        Compare keys
        Overrides:
        equals in class java.lang.Object
        Parameters:
        obj - other key to compare
        Returns:
        true if keys are the same
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object