📄 singlecolorset.java
字号:
public class SingleColorSet
{
private int color0;
private int color1;
private int color2;
SingleColorSet()
{
this(0,0,0);
}
/**@param color0 value of attribute color0
* @param color1 value of attribute color1
* @param color2 value of attribute color2
* */
SingleColorSet(int color0,int color1,int color2)
{
this.color0 = color0;
this.color1 = color1;
this.color2 = color2;
}
/**@return the value of color0*/
public int getColor0()
{
return this.color0;
}
/**@return the value of color1*/
public int getColor1()
{
return this.color1;
}
/**@return the value of color2*/
public int getColor2()
{
return this.color2;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -