A class that represents a byte object. Tries to replicate the behavior of Java's Object base class.

Hierarchy (view full)

Constructors

Methods

  • Clones the object.

    Returns this

  • Parameters

    • other: this

    Returns -1 | 0 | 1

    -1 if this is less than other, 0 if they are equal, 1 if this is greater than other.

  • Checks if the object is equal to another object.

    Parameters

    • other: this

      The object to compare to.

    Returns boolean

    true if the objects are equal, false otherwise.

  • Parameters

    • identifier: string

    Returns undefined | string

  • Returns Record<string, string>

  • Returns number

    A hash code for the object instance.