JDK 21 |
---|
21 b25Fixed |
Relates :
|
boolean t1 = switch (obj) { case Long a[] -> true; default -> false; }; boolean t2 = switch (obj) { case Double a[][][][] -> true; default -> false; }; if (obj instanceof Float a[][]) { } if (obj instanceof Integer a = Integer.valueOf(0)) { }
|