?? char.java
字號:
package lolo.scans;/** A simple class to scan a single character. * * @author <a href="http://www.inf.uos.de/bernd" target="_blank">Bernd Kühl</a> (<a href="mailto:bernd@informatik.uni-osnabrueck.de">bernd@informatik.uni-osnabrueck.de</a>) */public class Char extends Set { /** Creates an object which accepts any character. */ public Char() { super("", false); } /** Creates an object which scans for the character <tt>ch</tt>. * * @param ch the character of this symbol. */ public Char(char ch) { super(ch+"", true); } /** Returns a string representation of the object. * * @return a string representation of the object. */ public String toString() { return getClass().getName()+"["+(set.length() == 0 ? "ANY" : set)+"]"; }}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -