Main Page | Compound List | File List | Compound Members

TreeTest.IntegerComparator Class Reference

List of all members.

Detailed Description

An object to compare two Integer objects.

An instance of this object is used to initialize a BinaryTree object.


Public Member Functions

int compare (Object lhs, Object rhs)
boolean equals (Object obj)


Member Function Documentation

int TreeTest.IntegerComparator.compare Object  lhs,
Object  rhs
 

00072         {
00073             int result = ((Integer)lhs).compareTo((Integer)rhs);
00074             return result;
00075         }

boolean TreeTest.IntegerComparator.equals Object  obj  ) 
 

00077 { return false; }


The documentation for this class was generated from the following file:
Generated on Mon Sep 1 20:49:25 2003 for BinaryTree by doxygen 1.3.3