asciipref.java

来自「此编码是一个数据挖掘的决策树各种算法。以作为入门提示」· Java 代码 · 共 35 行

JAVA
35
字号
package shared;
import java.lang.*;
/** Provides preferences for non-graphical output.
 * @author James Louis 7/19/2001   Ported to Java.
 * @author Dave Manley 9/23/1993   Initial revision.
 */

public class ASCIIPref extends DisplayPref {
    /** This class has no access to a copy constructor.
     * @param source The AsciiPref instance to be copied.
     */
    private ASCIIPref(ASCIIPref source){
        super(ASCIIDisplay);
    }
    
    /** This class has no access to an assign method.
     * @param source The AsciiPref from which information will be copied.
     */
    private void assign(ASCIIPref source){}
    
    /** Constructor.
     */
    public ASCIIPref() {
        super(ASCIIDisplay);
    }
    
    /** Casts this object to an ASCII preference object.
     * @return A reference to this object.
     */
    public ASCIIPref typecast_to_ASCII() {
        return this;
    }
    
};

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?