Class ShortBlob

    • Constructor Detail

      • ShortBlob

        public ShortBlob​(byte[] bytes)
        Construct a new ShortBlob with the specified bytes. This blob cannot be modified after construction.
    • Method Detail

      • getBytes

        public byte[] getBytes()
        Return the bytes stored in this ShortBlob.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public boolean equals​(@Nullable Object object)
        Two ShortBlob objects are considered equal if their contained bytes match exactly.
        Overrides:
        equals in class Object
      • toString

        public String toString()
        Simply prints the number of bytes contained in this ShortBlob.
        Overrides:
        toString in class Object