protected Optional<T> getClosestCommonTermType(TermTypeHierarchy<T> otherHierarchy) { return otherHierarchy.getTermTypes() .filter(types::contains) .findFirst(); } }
protected Optional<T> getClosestCommonTermType(TermTypeHierarchy<T> otherHierarchy) { return otherHierarchy.getTermTypes() .filter(types::contains) .findFirst(); } }