Question: Why Java not have an union type

Andrew Haley aph at redhat.com
Sun Jan 10 11:12:00 UTC 2021


I think that JEP 218: Generics over Primitive Types gets you where you
need to be, but in a very Java way.

-- 
Andrew Haley  (he/him)
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
https://keybase.io/andrewhaley
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671



More information about the jdk-dev mailing list