Quoting "Lazarte, Ivan" <[EMAIL PROTECTED]>:

> I was wondering the same thing.  Even though supposedly casting has a cost of
> close to 0 in modern JVM's this is still a desirable feature to me in order
> to enforce tight api design.
>
> Please answer anyone who knows! :)

NB that the casts are still occuring at runtime, since "Java 5" generics are
actually just a compile-time feature. Agreed having a visible contract will lead
to improved design however.

Antranig.

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to