/** * @return the set of "base languages," each of which defines a family of compatible languages, and therefore induces a distinct * ClassHierarchy */ public Set<Language> getBaseLanguages() { Set<Language> result = HashSetFactory.make(); for (Language language : getLanguages()) { if (language.getBaseLanguage() == null) { result.add(language); } } return result; }
/** * @return the set of "base languages," each of which defines a family of compatible languages, and therefore induces a distinct * ClassHierarchy */ public Set<Language> getBaseLanguages() { Set<Language> result = HashSetFactory.make(); for (Language language : getLanguages()) { if (language.getBaseLanguage() == null) { result.add(language); } } return result; }