mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
14 lines
224 B
Java
14 lines
224 B
Java
public class Subject {
|
|
private int myInt;
|
|
|
|
public void withClass(Object <caret>o) {
|
|
myInt += o.hashCode();
|
|
}
|
|
}
|
|
|
|
class User {
|
|
private void oper() {
|
|
Subject subj = new Subject();
|
|
subj.withClass(this);
|
|
}
|
|
} |