Re:Java record pattern matching in JDK 19
by kaba0 on Saturday May 14, 2022 @02:48PM
(#31381055)
You can’t change the object’s type in Java, so if you hold on to the same reference it will be safe to use after the instanceof check.
[ Parent
| on HN ]
There are no comments on this comment yet.