Changes between Version 3 and Version 4 of ExampleUsingOwnConceteTypes


Ignore:
Timestamp:
10/06/06 17:17:02 (18 years ago)
Author:
lauer
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ExampleUsingOwnConceteTypes

    v3 v4  
    7070== Using own types in Collections and Maps == 
    7171 
    72 When using generics in the API methods, java runs a so called type erasure on all generic types, reducing a Collection<Param> to a simple Collection.  
    73 The runtime system cannot determine the content type of this collection unless the user places an extra hint using the @Contains annotation. 
     72When turning generics into thier class representation, java runs a so called type erasure, reducing a Collection<Param> to a simple Collection.  
     73Thus, the XML-RPC runtime system cannot determine the content type of this collection unless the user places an extra hint using the @Contains annotation. 
    7474 
    7575{{{ 
     
    108108} 
    109109 
    110 remote_api.passManyParams( Collections.asList( new Param[]{new Param()} ) ); 
     110remote_api.passManyParams( Collections.asList( new Param[]{new Param(), new Param()} ) ); 
    111111... 
    112112}}}