From: <php...@li...> - 2006-04-12 16:17:16
|
Hi, > I need to call a java function from php that need a > java.lang.Collection<MY_OBJECT> as a parameter. Just instantiate and pass a java.lang.Vector() or a List, for example. > Looking at the doc I don't found anything useful > about use of generics. Since java doesn't support first-class generics, you can ignore them. The <...> is only syntactic shugar for the compiler (and for the marketing). The situation becomes different when Mono 2.0 appears, which supports first-class generics. I will add a section how to work with Mono generics when Mono 2.0 is available. Regards, Jost Boekemeier ___________________________________________________________ Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de |