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

Method start

src/main/java/gate/Utils.java:277–279  ·  view source on GitHub ↗

Get the start offset of an annotation.

(SimpleAnnotation a)

Source from the content-addressed store, hash-verified

275 * Get the start offset of an annotation.
276 */
277 public static Long start(SimpleAnnotation a) {
278 return (a.getStartNode() == null) ? null : a.getStartNode().getOffset();
279 }
280
281 /**
282 * Get the start offset of an annotation set.

Callers 15

addAnnMethod · 0.95
setUpMethod · 0.80
runMethod · 0.80
showDialogMethod · 0.80
escapeMethod · 0.80
buildLineOffsetsMethod · 0.80
doCreateResourceMethod · 0.80
actionPerformedMethod · 0.80

Calls 3

getStartNodeMethod · 0.65
getOffsetMethod · 0.65
firstNodeMethod · 0.65

Tested by 1

setUpMethod · 0.64