public Iterator<String> getLabels() { return fsIndexRepository.getLabels(); }
public static IndexInfo[] getIndexes(CAS cas) { Iterator<String> it = cas.getIndexRepository().getLabels(); List<IndexInfo> ll = new ArrayList<IndexInfo>(); while (it.hasNext()) { ll.add(new IndexInfo(cas, it.next())); } return ll.toArray(new IndexInfo[ll.size()]); }
if (this.cas != null && useCAS) { FSIndexRepository ir = this.cas.getIndexRepository(); Iterator<String> it = ir.getLabels(); while (it.hasNext()) { String label = it.next();