Comparable (API documentation of hlt.language packages)
Date: 2013-01-30

hlt.language.util

## Interface Comparable

- All Known Implementing Classes:
    DoubleToIntMap.Entry, GrammarSymbol, IntToIntMap.Entry, LexComparableString, NonTerminal, ObjectToIntMap.Entry, Operator, OperatorSymbol, ParserOperator, Sort, Symbol, Terminal, ToIntMap.Entry, TupleFieldName

      public interface Comparable

  This is an interface for objects that must be compared.
  Version:
    Last modified on Tue Jun 19 17:36:21 2012 by hak
  Author:
    Hassan Aït-Kaci
  Copyright:
    © Hassan Aït-Kaci

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `lessThan(Comparable other)` Important: this should be a strict inequality.

- - ### Method Detail

    - #### lessThan

          boolean lessThan(Comparable other)

      Important: this should be a strict inequality. In other words, it must return `false` for equal objects. If not, a sorting procedure like QuickSort may loop forever.