displaypredinfo.java

来自「Libgist is an implementation of the Gene」· Java 代码 · 共 44 行

JAVA
44
字号
// DisplayPredInfo.java// Copyright (c) 1998, Regents of the University of California// $Id: DisplayPredInfo.java,v 1.1 1999/06/21 00:33:01 marcel Exp $/* Structure containing predicate location and index into a color map *//* indicating preferred color for display                             */public class DisplayPredInfo {int node;int slot;int level;int color = 0;public DisplayPredInfo() {}public DisplayPredInfo(int node, int slot, int level, int color) {    this.node = node;    this.slot = slot;    this.level = level;    this.color = color;}public void setFields(int node, int slot, int level, int color) {    this.node = node;    this.slot = slot;    this.level = level;    this.color = color;}public void copyFields(DisplayPredInfo pred) {        this.node = pred.node;    this.slot = pred.slot;    this.level = pred.level;    this.color = pred.color;}}

⌨️ 快捷键说明

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