Class FlexBuffers.Key

    • Constructor Detail

      • Key

        Key​(ReadBuf buff,
            int end,
            int byteWidth)
    • Method Detail

      • toString

        public java.lang.StringBuilder toString​(java.lang.StringBuilder sb)
        Appends a text(JSON) representation to a `StringBuilder`
        Specified by:
        toString in class FlexBuffers.Object
      • compareTo

        int compareTo​(byte[] other)
      • 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