Hello Rémi
Le 18/09/2018 à 00:28, fo...@univ-mlv.fr a écrit :
> - theoretically, the covariance is defined in term of sub-typing,
> trying to widen it's definition may have unintended consequences that
> need studying.
>
Agree that it would require studying. But we have a general guidance,
which
- Mail original -
> De: "Martin Desruisseaux"
> À: "Remi Forax"
> Cc: "core-libs-dev"
> Envoyé: Lundi 17 Septembre 2018 10:21:50
> Objet: Re: Thought on multiplicity of properties in Java
> Hello Rémi
Hi Martin,
>
> Thanks fo
Hello Rémi
Thanks for your reply.
Le 17/09/2018 à 00:54, Remi Forax a écrit :
> The Java spec limit covariance to subtyping relationship only (there
> is no covariance between primitive types, or between a primitive type
> and it's corresponding wrapper), so you can not use Java to implement
> o
Hi Martin,
- Mail original -
> De: "Martin Desruisseaux"
> À: "core-libs-dev"
> Envoyé: Samedi 15 Septembre 2018 20:16:45
> Objet: Thought on multiplicity of properties in Java
> I’m deriving Java interfaces from the UML of ISO 19111 international
I’m deriving Java interfaces from the UML of ISO 19111 international
standard, and a though come to my mind. This is not a request for
changing anything in the Java language now, I’m just wondering if this
is something worth to be considered for the future. This proposal would
require javac to hand