Pattern Matching for instanceof and Switch in Java ... instanceof Integer i) { i++; } else if (o instanceof String s) { s.contains(“a”); }.
確定! 回上一頁