MCPcopy Create free account
hub / github.com/GateNLP/gate-core / getContained

Method getContained

src/main/java/gate/AnnotationSet.java:227–227  ·  view source on GitHub ↗

Select annotations by offset. This returns the set of annotations that are contained in the interval defined by the two provided offsets. The difference with get(startOffset, endOffset) is that the latter also provides annotations that have a span which covers completely and is bigger than the given

(Long startOffset, Long endOffset)

Source from the content-addressed store, hash-verified

225 * exist. The returned set is immutable.
226 */
227 public AnnotationSet getContained(Long startOffset, Long endOffset);
228
229 /**
230 * Return a list of annotations sorted by increasing start offset, i.e. in the order

Callers 5

getTokensMethod · 0.65
actionPerformedMethod · 0.65
actionPerformedMethod · 0.65

Implementers 1

AnnotationSetImplsrc/main/java/gate/annotation/Annotati

Calls

no outgoing calls

Tested by

no test coverage detected