Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IComparable<T>

Interface for comparison.

author

Jeongho Nam - https://github.com/samchon

Type parameters

  • T

Hierarchy

  • IComparable

Implemented by

Index

Methods

Methods

equals

  • equals(obj: T): boolean
  • Test whether equal to some object.

    Parameters

    • obj: T

      The object to compare.

    Returns boolean

    Whether equal or not.

hashCode

  • hashCode(): number

less

  • less(obj: T): boolean
  • Test whether less than some object.

    Parameters

    • obj: T

      The object to compare.

    Returns boolean

    Whether less or not.

Generated using TypeDoc