edu.ksu.cis.projects.bogor.module.value
Interface IComparablePrimitiveExtValue
- All Superinterfaces:
- Comparable<IValue>, Disposable, IExtValue, IPrimitiveExtValue, IPrimitiveValue, IValue, Serializable
public interface IComparablePrimitiveExtValue
- extends IPrimitiveExtValue
An interface to indicate a comparable primitive extension value.
- Version:
- CVS $Revision: 1.4 $ $Date: 2005/06/06 19:15:31 $
- Author:
- Robby
Methods inherited from interface edu.ksu.cis.projects.bogor.module.value.IExtValue |
visit |
compare
int compare(IValueComparator vc,
IComparablePrimitiveExtValue 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.
clone
IComparablePrimitiveExtValue clone(Map<Object,Object> cloneMap)
- Override to specialize return type
- Specified by:
clone
in interface IPrimitiveExtValue
- Specified by:
clone
in interface IPrimitiveValue
- Specified by:
clone
in interface IValue
- Parameters:
cloneMap
- Original values (IValue
) to their clones (
IValue
) mapping. The clone map to solve
circular references in values. If this value is a key in the
map, then this method returns the value of the key in the map.
Must be non-null.
- Returns:
- The clone of this value. Non-null.