public interface LinearTypeOrder
Modifier and Type | Method and Description |
---|---|
int |
compare(FeatureStructure fs1,
FeatureStructure fs2)
Compare two Feature Structure's types
|
int[] |
getOrder() |
boolean |
isEmptyTypeOrder() |
boolean |
lessThan(int t1,
int t2)
Compare two types.
|
boolean |
lessThan(Type t1,
Type t2)
Compare two types.
|
boolean lessThan(Type t1, Type t2)
t1
- type to comparet2
- type to comparetrue
iff t1
is less than t2
in this order.boolean lessThan(int t1, int t2)
t1
- type to comparet2
- type to comparetrue
iff t1
is less than t2
in this order.int compare(FeatureStructure fs1, FeatureStructure fs2)
fs1
- first Feature Structurefs2
- second Feature Structureint[] getOrder()
boolean isEmptyTypeOrder()
Copyright © 2006–2021 The Apache Software Foundation. All rights reserved.