@Test public void testGetAllPrefixes() { Collection<String> prefixes = vocabulary.getAllCuriePrefixes(); assertThat(prefixes, hasItems("H", "S")); }
@Override public Set<String> getAllCuriePrefixes() { return newHashSet(curieUtil.getPrefixes()); }
VocabularyNeo4jImpl implements Vocabulary { @Override public Set<String> getAllCuriePrefixes() { return newHashSet(curieUtil.getPrefixes()); } }
VocabularyNeo4jImpl implements Vocabulary { @Override public Set<String> getAllCuriePrefixes() { return newHashSet(curieUtil.getPrefixes()); } @Inject  VocabularyNeo4jImpl(GraphDatabaseService graph,
      @Nullable @IndicatesNeo4jGraphLocation String neo4jLocation, CurieUtil curieUtil,
      NodeTransformer transformer); }
VocabularyNeo4jImpl implements Vocabulary { @Override public Set<String> getAllCuriePrefixes() { return newHashSet(curieUtil.getPrefixes()); } @Inject  VocabularyNeo4jImpl(GraphDatabaseService graph,
      @Nullable @IndicatesNeo4jGraphLocation String neo4jLocation, CurieUtil curieUtil,
      NodeTransformer transformer); @Override Optional<Concept> getConceptFromId(Query query); @Override List<Concept> getConceptsFromPrefix(Query query); @Override List<Concept> searchConcepts(Query query); @Override List<Concept> getConceptsFromTerm(Query query); @Override Set<String> getAllCategories(); @Override Set<String> getAllCuriePrefixes(); @Override List<String> getSuggestions(String query); }
VocabularyNeo4jImpl implements Vocabulary { @Override public Set<String> getAllCuriePrefixes() { return newHashSet(curieUtil.getPrefixes()); } @Inject  VocabularyNeo4jImpl(GraphDatabaseService graph,
      @Nullable @IndicatesNeo4jGraphLocation String neo4jLocation, CurieUtil curieUtil,
      NodeTransformer transformer); @Override Optional<Concept> getConceptFromId(Query query); @Override List<Concept> getConceptsFromPrefix(Query query); @Override List<Concept> searchConcepts(Query query); @Override List<Concept> getConceptsFromTerm(Query query); @Override Set<String> getAllCategories(); @Override Set<String> getAllCuriePrefixes(); @Override List<String> getSuggestions(String query);  }