4 ms·
Text blocks, var, records, sealed classes, and pattern matching in instanceof have been out of preview for some time, but two more features -- record patterns (
by pron 4y ago
Text blocks, var, records, sealed classes, and pattern matching in instanceof have been out of preview for some time, but two more features -- record patterns (https://openjdk.org/jeps/440 https://openjdk.org/jeps/440) and pattern matching in switch (https://openjdk.org/jeps/441 https://openjdk.org/jeps/441) -- are about to come out of preview.