📄 lexer.java
字号:
package weka.datagenerators;import java.io.IOException;import java.util.Collection;/** * Defines common behaviors for lexers. A lexer splits a given input * string into an array of string tokens, according to some particular * rules. * * @author ywwong * @version $Id: Lexer.java,v 1.1.1.1 2003/01/22 07:48:27 mbilenko Exp $ */abstract class Lexer { /** The document reader. */ protected DocumentReader m_reader; public Lexer(DocumentReader reader) { m_reader = reader; } /** Parses the next token from the document reader. * * @return The next token if it's available; <code>null</code> if * otherwise. */ public abstract String nextToken() throws IOException; ////// WEKA specific. ////// public abstract Collection getOptions();}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -