custom.java
来自「好东西,hibernate-3.2.0,他是一开元的树杖hibernate-3.」· Java 代码 · 共 33 行
JAVA
33 行
//$Id: Custom.java 7275 2005-06-22 18:58:16Z oneovthafew $
package org.hibernate.test.legacy;
public class Custom implements Cloneable {
String id;
private String name;
public Object clone() {
try {
return super.clone();
}
catch (CloneNotSupportedException cnse) {
throw new RuntimeException();
}
}
void setName(String name) {
this.name = name;
}
String getName() {
return name;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?