infosapient.resolution
Class PlateauLocation

java.lang.Object
  |
  +--infosapient.resolution.PlateauLocation

class PlateauLocation
extends java.lang.Object
implements java.util.Comparator

This class is used to encapsulate a plateau location. Creation date: (05/02/01 10:05:50 AM)

Version:
$Revision: 1.1.1.1 $

Field Summary
(package private)  int end
           
(package private)  double height
           
(package private)  int start
           
 
Constructor Summary
(package private) PlateauLocation()
           
(package private) PlateauLocation(int t_Start, int t_End, double t_Height)
           
 
Method Summary
 int compare(java.lang.Object o1, java.lang.Object o2)
          Implementation of the comparator interface -- compare the heights of the PlateauLocation.
 boolean equals(java.lang.Object o)
          Overridden equals method for Comparator interface compliance.
 
Methods inherited from class java.lang.Object
, clone, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

start

int start

end

int end

height

double height
Constructor Detail

PlateauLocation

PlateauLocation()

PlateauLocation

PlateauLocation(int t_Start,
                int t_End,
                double t_Height)
Method Detail

compare

public int compare(java.lang.Object o1,
                   java.lang.Object o2)
Implementation of the comparator interface -- compare the heights of the PlateauLocation. Creation date: (05/02/01 10:17:08 AM)
Specified by:
compare in interface java.util.Comparator
Parameters:
o1 - java.lang.Object
o2 - java.lang.Object
Returns:
int

equals

public boolean equals(java.lang.Object o)
Overridden equals method for Comparator interface compliance. Creation date: (05/02/01 10:27:35 AM)
Specified by:
equals in interface java.util.Comparator
Overrides:
equals in class java.lang.Object
Parameters:
o - java.lang.Object
Returns:
boolean

License to use this program is provided under the TERMS OF THE COMMON PUBLIC LICENSE 0.5. ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.

Copyright (c) 2001, Workplace Performance Tools, All Rights Reserved