All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class bradel.wordchanger.ComparisonObject

java.lang.Object
   |
   +----bradel.wordchanger.ComparisonObject

public abstract class ComparisonObject
extends Object
A comparison object used in the StaticSortSearch object. This is an abstract class that forces objects to define a compareTo function. Creation date: (30/12/2001 5:19:01 PM)

Author:
: Borys Bradel Copyright (c) 2001 Borys Bradel All rights reserved

Constructor Index

 o ComparisonObject()
ComparisonObject constructor does nothing

Method Index

 o compareTo(ComparisonObject)
Compares two objects lexicographically.

Constructors

 o ComparisonObject
 public ComparisonObject()
ComparisonObject constructor does nothing

Methods

 o compareTo
 public abstract int compareTo(ComparisonObject anotherComparisonObject)
Compares two objects lexicographically. Returns the value 0 if the argument object is equal to this object; a value less than 0 if this object is lexicographically less than the object argument; and a value greater than 0 if this object is lexicographically greater than the object argument. Creation date: (30/12/2001 5:19:32 PM)

Parameters:
anotherComparisonObject - bradel.wordchanger.ComparisonObject
Returns:
int

All Packages  Class Hierarchy  This Package  Previous  Next  Index