//populate a CAS with such an list
CAS cas = CasCreationUtils.createCas(typeSystem, null, null);
Type testAnnotType = cas.getTypeSystem().getType("org.apache.uima.testTypeSystem.TestAnnotation");
Type orgType = cas.getTypeSystem().getType(
"org.apache.uima.testTypeSystem.Organization");
AnnotationFS orgAnnot1 = cas.createAnnotation(orgType, 0, 10);
cas.addFsToIndexes(orgAnnot1);
AnnotationFS orgAnnot2 = cas.createAnnotation(orgType, 10, 20);
cas.addFsToIndexes(orgAnnot2);
AnnotationFS testAnnot = cas.createAnnotation(testAnnotType, 0, 20);
cas.addFsToIndexes(testAnnot);