mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 14:23:28 +07:00
20 lines
327 B
Java
20 lines
327 B
Java
public class SelfParams {
|
|
private int myVar = 0;
|
|
|
|
private int myProp = 0;
|
|
public int getProp() {
|
|
return myProp;
|
|
}
|
|
public void setProp(int prop) {
|
|
myProp = prop;
|
|
}
|
|
|
|
public void copy(SelfParams sp) {
|
|
this.myVar = sp.myVar;
|
|
this.myProp = sp.getProp();
|
|
}
|
|
}
|
|
|
|
class Usage {
|
|
SelfParams s = new Self<caret>Params();
|
|
} |