Package org.apache.uima.cas.admin
Interface LinearTypeOrder
public interface LinearTypeOrder
Linear order on types.
-
Method Summary
-
Method Details
-
lessThan
Compare two types.- Parameters:
t1
- type to comparet2
- type to compare- Returns:
true
ifft1
is less thant2
in this order.
-
lessThan
boolean lessThan(int t1, int t2) Compare two types.- Parameters:
t1
- type to comparet2
- type to compare- Returns:
true
ifft1
is less thant2
in this order.
-
getOrder
int[] getOrder()- Returns:
- The type order as array of type codes in ascending order.
-