public class NonOverlappingCache extends HashMap<Class<? extends org.apache.uima.jcas.tcas.Annotation>,NonOverlappingCache.AnnotationCache>
Modifier and Type | Class and Description |
---|---|
static class |
NonOverlappingCache.AnnotationCache<X extends org.apache.uima.jcas.tcas.Annotation>
This stores all instances of X in a document according to their starting
position.
|
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier and Type | Field and Description |
---|---|
static int |
MAX_NUM_INSTANCES |
Modifier and Type | Method and Description |
---|---|
static NonOverlappingCache |
getInstance(org.apache.uima.jcas.JCas jcas) |
<X extends org.apache.uima.jcas.tcas.Annotation> |
selectBetween(Class<X> annoClass,
int start,
int end) |
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
equals, hashCode, toString
public static NonOverlappingCache getInstance(org.apache.uima.jcas.JCas jcas)
Copyright © 2014. All rights reserved.