Stephan Koops wrote:
> Hi Paul,
>
> sorry, I'm not sure if I understand what you want to say (I should use
> more English ...). Do you mean my idea is good or will not work?
>
Marc and I tried to make Response a generic class but failed, we could
not make it work.
Paul.
> Stephan
>
> Paul Sandoz wrote:
>> Stephan Koops wrote:
>>> Hi,
>>>
>>> what about a generic Response class?
>>> Let's stay at the given example:
>>> public List<Bean> getList() { ... }
>>> could become
>>> public Response<List<Bean>> getList() { ... }
>> Marc and I bashed our heads till they hurt trying to achieve that :-)
>> We could not find a way such that Response<T> works correctly with
>> building a response where a type T is set in a builder method.
>>
>> Paul.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_jsr311.dev.java.net
> For additional commands, e-mail: dev-help_at_jsr311.dev.java.net
>
--
| ? + ? = To question
----------------\
Paul Sandoz
x38109
+33-4-76188109