public class TermTypeHierarchyImpl<T extends TermType> extends Object implements TermTypeHierarchy<T>
| Modifier | Constructor and Description |
|---|---|
protected |
TermTypeHierarchyImpl(it.unibz.inf.ontop.com.google.common.collect.ImmutableList<T> types) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(T termType) |
protected Optional<T> |
getClosestCommonTermType(TermTypeHierarchy<T> otherHierarchy) |
Stream<T> |
getTermTypes()
From the most specific to the most general ancestor
|
protected TermTypeHierarchyImpl(it.unibz.inf.ontop.com.google.common.collect.ImmutableList<T> types)
public Stream<T> getTermTypes()
TermTypeHierarchygetTermTypes in interface TermTypeHierarchy<T extends TermType>public boolean contains(T termType)
contains in interface TermTypeHierarchy<T extends TermType>protected Optional<T> getClosestCommonTermType(TermTypeHierarchy<T> otherHierarchy)
Copyright © 2009–2021 Free University of Bozen-Bolzano. All rights reserved.