myval.java
来自「基于图形的二叉树工作演示程序」· Java 代码 · 共 21 行
JAVA
21 行
package myBag;
import myBag.*;
public class myVal{
private int R,G,B;
private IElem it;
public myVal(IElem it,int R,int G,int B){
this.it=it;
this.R=R;
this.G=G;
this.B=B;
}
public IElem getIT(){return it;}
public int getR(){ return R;}
public int getG(){ return G;}
public int getB(){ return B;}
public void setIT(IElem it){ this.it=it;}
public void setR(int R){ this.R=R;}
public void setG(int G){ this.G=G;}
public void setB(int B){ this.B=B;}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?