@Test public void testTotalConcepts(){ assertEquals(1540, this.kb.getConcepts().size()); }
public Set<Concept> getConcepts() { return ImmutableSet.copyOf(conceptID.values()); }
WSCXMLKnowledgeBase implements HierarchicalKnowledgeBase, Serializable { public Set<Concept> getConcepts() { return ImmutableSet.copyOf(conceptID.values()); } }
WSCXMLKnowledgeBase implements HierarchicalKnowledgeBase, Serializable { public Set<Concept> getConcepts() { return ImmutableSet.copyOf(conceptID.values()); } WSCXMLKnowledgeBase(InputStream xmlTaxonomyStream);  WSCXMLKnowledgeBase(String xmlTaxonomy);  WSCXMLKnowledgeBase(File xmlTaxonomyFile);  WSCXMLKnowledgeBase(); }
WSCXMLKnowledgeBase implements HierarchicalKnowledgeBase, Serializable { public Set<Concept> getConcepts() { return ImmutableSet.copyOf(conceptID.values()); } WSCXMLKnowledgeBase(InputStream xmlTaxonomyStream);  WSCXMLKnowledgeBase(String xmlTaxonomy);  WSCXMLKnowledgeBase(File xmlTaxonomyFile);  WSCXMLKnowledgeBase(); @Override Concept getConcept(String id); @Override Instance getInstance(String id); @Override Set<Concept> getSubclasses(Concept concept); @Override Set<Concept> getSuperclasses(Concept concept); boolean equivalent(Concept x, Concept y); boolean isSubclass(Concept x, Concept y); boolean isSuperclass(Concept x, Concept y); @Override Concept resolveInstance(Instance instance); Set<Instance> getInstances(Concept concept); Set<Concept> getConcepts(); Set<Instance> getInstances(); }
WSCXMLKnowledgeBase implements HierarchicalKnowledgeBase, Serializable { public Set<Concept> getConcepts() { return ImmutableSet.copyOf(conceptID.values()); } WSCXMLKnowledgeBase(InputStream xmlTaxonomyStream);  WSCXMLKnowledgeBase(String xmlTaxonomy);  WSCXMLKnowledgeBase(File xmlTaxonomyFile);  WSCXMLKnowledgeBase(); @Override Concept getConcept(String id); @Override Instance getInstance(String id); @Override Set<Concept> getSubclasses(Concept concept); @Override Set<Concept> getSuperclasses(Concept concept); boolean equivalent(Concept x, Concept y); boolean isSubclass(Concept x, Concept y); boolean isSuperclass(Concept x, Concept y); @Override Concept resolveInstance(Instance instance); Set<Instance> getInstances(Concept concept); Set<Concept> getConcepts(); Set<Instance> getInstances();  }