Sujet : Re: OpenVMS system programming language
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : comp.os.vmsDate : 25. Feb 2025, 05:58:14
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vpjil6$1of4p$1@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11
User-Agent : Pan/0.162 (Pokrosvk)
On Mon, 24 Feb 2025 22:42:56 -0500, Arne Vajhøj wrote:
But the Sensor.TYPE_* int approach has been obsolete since Java 5 where
Java got enums.
This was Java 7 at the time. But in any case, the constants are defined by
the API, I am not the one defining the type for them.
With enum the need for that Map disappears.
I’m sure it does. But that’s no help with the problem.