Package org.apache.uima.cas.admin
Interface LinearTypeOrder
-
public interface LinearTypeOrderLinear order on types.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int[]getOrder()booleanlessThan(int t1, int t2)Compare two types.booleanlessThan(Type t1, Type t2)Compare two types.
-
-
-
Method Detail
-
lessThan
boolean lessThan(Type t1, Type t2)
Compare two types.- Parameters:
t1- type to comparet2- type to compare- Returns:
trueifft1is less thant2in this order.
-
lessThan
boolean lessThan(int t1, int t2)Compare two types.- Parameters:
t1- type to comparet2- type to compare- Returns:
trueifft1is less thant2in this order.
-
getOrder
int[] getOrder()
- Returns:
- The type order as array of type codes in ascending order.
-
-