本文整理汇总了Java中gate.util.MethodNotImplementedException类的典型用法代码示例。如果您正苦于以下问题:Java MethodNotImplementedException类的具体用法?Java MethodNotImplementedException怎么用?Java MethodNotImplementedException使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
MethodNotImplementedException类属于gate.util包,在下文中一共展示了MethodNotImplementedException类的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: toArray
import gate.util.MethodNotImplementedException; //导入依赖的package包/类
@Override
public Object[] toArray() {
// there is a problem here, because some docs might not be
// instantiated
throw new MethodNotImplementedException(
"toArray() is not implemented for SerialCorpusImpl");
}
示例2: set
import gate.util.MethodNotImplementedException; //导入依赖的package包/类
@Override
public Document set(int index, Document element) {
throw new gate.util.MethodNotImplementedException();
// fire the 2 events
/*
* fireDocumentRemoved(new CorpusEvent(SerialCorpusImpl.this,
* oldDoc, ((Integer) key).intValue(),
* CorpusEvent.DOCUMENT_REMOVED)); fireDocumentAdded(new
* CorpusEvent(SerialCorpusImpl.this, newDoc, ((Integer)
* key).intValue(), CorpusEvent.DOCUMENT_ADDED));
*/
}
示例3: lastIndexOf
import gate.util.MethodNotImplementedException; //导入依赖的package包/类
@Override
public int lastIndexOf(Object o) {
throw new gate.util.MethodNotImplementedException();
}
示例4: listIterator
import gate.util.MethodNotImplementedException; //导入依赖的package包/类
@Override
public ListIterator<Document> listIterator() {
throw new gate.util.MethodNotImplementedException();
}
示例5: subList
import gate.util.MethodNotImplementedException; //导入依赖的package包/类
/**
* persistent Corpus does not support this method as all the documents
* might no be in memory
*/
@Override
public List<Document> subList(int fromIndex, int toIndex) {
throw new gate.util.MethodNotImplementedException();
}
示例6: remove
import gate.util.MethodNotImplementedException; //导入依赖的package包/类
@Override
public void remove() {
// TODO Auto-generated method stub
throw new MethodNotImplementedException();
}
示例7: getUniqueBeginners
import gate.util.MethodNotImplementedException; //导入依赖的package包/类
/** returns all unique beginners */
public Iterator getUniqueBeginners() {
throw new MethodNotImplementedException();
}