mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 15:50:53 +07:00
9 lines
204 B
Java
9 lines
204 B
Java
class A {
|
|
void test(Object obj) {
|
|
if (!(obj instanceof String temp)) {
|
|
return;
|
|
}
|
|
System.out.println(temp.trim());
|
|
System.out.println(temp.length());
|
|
}
|
|
} |