JavaScript is disabled on your browser.
Overview
Package
Class
Tree
Deprecated
Index
Help
Author:
Hassan Aït-Kaci
Prev Class
Next Class
Frames
No Frames
All Classes
Summary:
Nested |
Field |
Constr |
Method
Detail:
Field |
Constr |
Method
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.
Overview
Package
Class
Tree
Deprecated
Index
Help
Contact:
hak@acm.org
Prev Class
Next Class
Frames
No Frames
All Classes
Summary:
Nested |
Field |
Constr |
Method
Detail:
Field |
Constr |
Method