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

Method set

src/main/java/gate/corpora/SerialCorpusImpl.java:848–859  ·  view source on GitHub ↗
(int index, Document element)

Source from the content-addressed store, hash-verified

846 }
847
848 @Override
849 public Document set(int index, Document element) {
850 throw new gate.util.MethodNotImplementedException();
851 // fire the 2 events
852 /*
853 * fireDocumentRemoved(new CorpusEvent(SerialCorpusImpl.this,
854 * oldDoc, ((Integer) key).intValue(),
855 * CorpusEvent.DOCUMENT_REMOVED)); fireDocumentAdded(new
856 * CorpusEvent(SerialCorpusImpl.this, newDoc, ((Integer)
857 * key).intValue(), CorpusEvent.DOCUMENT_ADDED));
858 */
859 }
860
861 @Override
862 public void add(int index, Document o) {

Callers 3

unloadDocumentMethod · 0.45
resourceUnloadedMethod · 0.45
getMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected