📄 jsp1bean.java
字号:
package com.jestdoc.test;
public class Jsp1Bean {
private String sample = "";
//Access sample property
public String getSample() {
return sample;
}
//Access sample property
public void setSample(String newValue) {
if (newValue!=null) {
sample = newValue;
}
else{
sample = "";
}
}
private String sample1 = "1";
//Access sample property
public String getSample1() {
System.out.println("getSample1():"+sample1);
return sample1;
}
//Access sample property
public void setSample1(String newValue) {
System.out.println("setSample1():"+sample1);
if (newValue!=null) {
sample1 = newValue;
}
else{
sample1 = "";
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -