org.favabeans.util
Interface PoComparator
- public interface PoComparator
A PoCompator
is an object which implements a
partial ordering.
- See Also:
PoComparable
,
Comparable
,
Comparator
greaterThan
public boolean greaterThan(Object o1,
Object o2)
- Determine if one object is greater than another.
- Parameters:
o1
- the first object to be compared.o2
- the second object to be compared.- Returns:
true
if o1
is greater than
o2
.
lessThan
public boolean lessThan(Object o1,
Object o2)
- Determine if one object is less than another.
- Parameters:
o1
- the first object to be compared.o2
- the second object to be compared.- Returns:
true
if o1
is less than
o2
.
equals
public boolean equals(Object o1,
Object o2)
- Determine if one object is equal to another.
- Parameters:
o1
- the first object to be compared.o2
- the second object to be compared.- Returns:
true
if o1
is equal to
o2
.
Copyright © 2000-2001, Regents of the University of Minnesota. All Rights Reserved.