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

Method end

src/main/java/gate/Utils.java:298–300  ·  view source on GitHub ↗

Get the end offset of an annotation.

(SimpleAnnotation a)

Source from the content-addressed store, hash-verified

296 * Get the end offset of an annotation.
297 */
298 public static Long end(SimpleAnnotation a) {
299 return (a.getEndNode() == null) ? null : a.getEndNode().getOffset();
300 }
301
302 /**
303 * Get the end offset of an annotation set.

Callers 11

addAnnMethod · 0.95
escapeMethod · 0.80
actionPerformedMethod · 0.80
actionPerformedMethod · 0.80
actionPerformedMethod · 0.80
actionPerformedMethod · 0.80
actionPerformedMethod · 0.80

Calls 5

getEndNodeMethod · 0.65
getOffsetMethod · 0.65
lastNodeMethod · 0.65
sizeMethod · 0.65
getContentMethod · 0.65

Tested by

no test coverage detected