⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cellstate.java

📁 jboss规则引擎
💻 JAVA
字号:
package org.drools.examples.conway;

/**
 * <code>CellState</code> enumerates all of the valid states that a Cell may
 * be in.
 * 
 * @author <a href="mailto:brown_j@ociweb.com">Jeff Brown</a>
 * @see Cell
 * @see CellGrid
 */
public class CellState {

    public static final CellState LIVE = new CellState( "LIVE" );
    public static final CellState DEAD = new CellState( "DEAD" );

    private final String          name;

    private CellState(final String name) {
        this.name = name;
    }

    public String toString() {
        return "CellState: " + this.name;
    }
}

⌨️ 快捷键说明

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