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

Method getFeatures

src/main/java/gate/corpora/DocumentImpl.java:236–242  ·  view source on GitHub ↗

Cover unpredictable Features creation

()

Source from the content-addressed store, hash-verified

234
235 /** Cover unpredictable Features creation */
236 @Override
237 public FeatureMap getFeatures() {
238 if(features == null) {
239 features = new SimpleFeatureMapImpl();
240 }
241 return features;
242 }
243
244 /** Initialise this resource, and return it. */
245 @Override

Callers 4

initMethod · 0.95
toXmlMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected