public class TermTypeAncestryImpl extends TermTypeHierarchyImpl<TermType> implements TermTypeAncestry
| Modifier | Constructor and Description |
|---|---|
protected |
TermTypeAncestryImpl(TermType origin)
ONLY for the TermType origin (which must be unique)!
|
| Modifier and Type | Method and Description |
|---|---|
TermType |
getClosestCommonAncestor(TermTypeAncestry otherAncestry)
All the term types are expected to have the same origin
|
TermTypeAncestry |
newAncestry(TermType childType)
Builds a new ancestry
|
contains, getClosestCommonTermType, getTermTypesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcontains, getTermTypesprotected TermTypeAncestryImpl(TermType origin)
public TermType getClosestCommonAncestor(TermTypeAncestry otherAncestry)
TermTypeAncestrygetClosestCommonAncestor in interface TermTypeAncestrypublic TermTypeAncestry newAncestry(TermType childType)
TermTypeAncestrynewAncestry in interface TermTypeAncestryCopyright © 2009–2021 Free University of Bozen-Bolzano. All rights reserved.