axis_examplecompt_changesinfo-opsversion-1.30version-2.00version-3.01version-3.02
Last change
on this file since 8780cbec was
8780cbec,
checked in by Jay Jacobs <Jay.Jacobs@…>, 15 years ago
|
ABAC sources from Cobham
|
-
Property mode set to
100644
|
File size:
635 bytes
|
Rev | Line | |
---|
[8780cbec] | 1 | package edu.stanford.rt.datatype; |
---|
| 2 | |
---|
| 3 | /** |
---|
| 4 | * @author Ninghui Li, Sandra Qiu<br> |
---|
| 5 | * |
---|
| 6 | * OrderedType is the super class of all totally ordered simple |
---|
| 7 | * data types: IntegerType, DecimalType, EnumType, StringType, TimeType. |
---|
| 8 | * It requires its subclasses to be able to compare for legal values |
---|
| 9 | */ |
---|
| 10 | public abstract class OrderedType extends SimpleType |
---|
| 11 | { |
---|
| 12 | OrderedType(String name) |
---|
| 13 | { |
---|
| 14 | super(name); |
---|
| 15 | } |
---|
| 16 | |
---|
| 17 | /** |
---|
| 18 | * Method compares. |
---|
| 19 | * Compares two DataValue objects. |
---|
| 20 | * @param value1 |
---|
| 21 | * @param value2 |
---|
| 22 | * @return int |
---|
| 23 | */ |
---|
| 24 | abstract int compares(DataValue value1, DataValue value2); |
---|
| 25 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.