|
UC Berkeley Group for User Interface Research Updated November 17, 2000 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
An interface for a class that compares two objects and determines if they are "equal", "less than", or "greater than".
This software is distributed under the Berkeley Software License.
Revisions: - GUIRLib-v1.0-1.0.0, Nov 27 1997, JH
Created class
- GUIRLib-v1.2-1.0.0, Jun 22 2000, JH
Touched for GUIRLib release
- GUIRLib-v1.3-1.0.0, Aug 11 2000, JH
Touched for GUIRLib release
- GUIRLib-v1.4-1.0.0, Aug 31 2000, JH
Touched for GUIRLib release
| Method Summary | |
boolean |
isEqual(Object obj1,
Object obj2)
Sees if two objects are "equal" or not (you may define equality in whatever way you want). |
boolean |
isGreaterThan(Object obj1,
Object obj2)
Sees if the first object is "greater than" the second object. |
boolean |
isGreaterThanOrEqual(Object obj1,
Object obj2)
Sees if the first object is "greater than or equal" to the second object. |
boolean |
isLessThan(Object obj1,
Object obj2)
Sees if the first object is "less than" the second object. |
boolean |
isLessThanOrEqual(Object obj1,
Object obj2)
Sees if the first object is "less than or equal" to the second object. |
| Method Detail |
public boolean isEqual(Object obj1,
Object obj2)
obj1 - is some Object to be compared to obj2.obj2 - is some Object to be compared to obj1.
public boolean isLessThan(Object obj1,
Object obj2)
obj1 - is some Object to be compared to obj2.obj2 - is some Object to be compared to obj1.
public boolean isLessThanOrEqual(Object obj1,
Object obj2)
obj1 - is some Object to be compared to obj2.obj2 - is some Object to be compared to obj1.
public boolean isGreaterThan(Object obj1,
Object obj2)
obj1 - is some Object to be compared to obj2.obj2 - is some Object to be compared to obj1.
public boolean isGreaterThanOrEqual(Object obj1,
Object obj2)
obj1 - is some Object to be compared to obj2.obj2 - is some Object to be compared to obj1.
|
Copyright Information | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||