📄 interfacetask.java
字号:
package uk.ac.shef.wit.simmetrics.task;
/**
* Description: defines the interface for a SimMetric Task.
*
* @author Sam Chapman, NLP Group, Sheffield Uni, UK
* (<a href="mailto:sam@dcs.shef.ac.uk">email</a>, <a href="http://www.dcs.shef.ac.uk/~sam/">website</a>)
* <p/>
* Date: 29-Mar-2006
* Time: 17:48:46
*/
public interface InterfaceTask {
/**
* Runs the task.
*
* @return a TaskResult object.
*/
public TaskResult RunTask();
/**
* Parses the task from the given uri.
* @param path the path of the task definition file
*/
public void ParseTask(String path);
/**
* Returns a string representation of the object. In general, the
* <code>toString</code> method returns a string that
* "textually represents" this object. The result should
* be a concise but informative representation that is easy for a
* person to read.
* It is recommended that all subclasses override this method.
* <p>
* The <code>toString</code> method for class <code>Object</code>
* returns a string consisting of the name of the class of which the
* object is an instance, the at-sign character `<code>@</code>', and
* the unsigned hexadecimal representation of the hash code of the
* object. In other words, this method returns a string equal to the
* value of:
* <blockquote>
* <pre>
* getClass().getName() + '@' + Integer.toHexString(hashCode())
* </pre></blockquote>
*
* @return a string representation of the object.
*/
public String toString();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -