(int index, Document element)
| 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) { |
no outgoing calls
no test coverage detected