edu.ksu.cis.projects.bogor.module.value
Interface IComparableNonPrimitiveExtValue
public interface IComparableNonPrimitiveExtValue
An interface to indicate a comparable non-primitive extension value.
- Version:
- CVS $Revision: 1.2 $ $Date: 2004/02/25 02:40:37 $
- Author:
- Robby
compare
int compare(IValueComparator vc,
IComparableNonPrimitiveExtValue other)
- Compares this value with another value using a given value comparator.
- Parameters:
vc
- The value comparator to use. Must be non-null.other
- The value to compare against. Must be non-null.
- Returns:
- -1, if this value is "less" than the other value.
0, if this value is "equal" to the other value,
or if the ordering of the two values cannot be determined.
1, if this value is "greater" than the other value.