public static class LinearTypeOrderBuilderImpl.TotalTypeOrder extends Object implements LinearTypeOrder
LinearTypeOrder
interface.| Modifier and Type | Method and Description |
|---|---|
int |
compare(FeatureStructure fs1,
FeatureStructure fs2)
Compare two Feature Structure's types
|
boolean |
equals(Object obj) |
int[] |
getOrder() |
int |
hashCode() |
boolean |
isEmptyTypeOrder() |
boolean |
lessThan(int t1,
int t2)
Compare two types.
|
boolean |
lessThan(Type t1,
Type t2)
Compare two types.
|
public int compare(FeatureStructure fs1, FeatureStructure fs2)
LinearTypeOrdercompare in interface LinearTypeOrderfs1 - first Feature Structurefs2 - second Feature Structurepublic boolean lessThan(Type t1, Type t2)
LinearTypeOrderlessThan in interface LinearTypeOrdert1 - type to comparet2 - type to comparetrue iff t1 is less than t2 in this order.public boolean lessThan(int t1,
int t2)
LinearTypeOrderlessThan in interface LinearTypeOrdert1 - type to comparet2 - type to comparetrue iff t1 is less than t2 in this order.public int[] getOrder()
getOrder in interface LinearTypeOrderpublic boolean isEmptyTypeOrder()
isEmptyTypeOrder in interface LinearTypeOrderCopyright © 2006–2021 The Apache Software Foundation. All rights reserved.