Interface Comparable<T>

An interface that imposes the ordering for implementing classes.

Type Parameters

  • T

Hierarchy

  • Comparable

Methods

Methods

  • Compares this object with the specified object for order.

    Parameters

    • other: T

      the object to be compared

    Returns number

Generated using TypeDoc