Re: Digest for google-web-toolkit@googlegroups.com - 1 update in 1 topic

已查看 31 次
跳至第一个未读帖子

Tom Van Eetvelde

未读,
2022年12月5日 12:53:282022/12/5
收件人 google-we...@googlegroups.com
Yes

Op zo 4 dec. 2022 14:01 schreef <google-we...@googlegroups.com>:
Hua Zhang <hzhan...@gmail.com>: Dec 04 03:30AM -0800

Is this 'concrete type' als valid for a DTO object in GWT-RPC?
 
For example, I have a TestDTO object, which needs to be transferred via
GWT-RPC.
 
 
 
 
 
 
 
*public class TestDTO implements IsSerializable { public
ArrayList<String> data; public List<String> operation() {
return null; }}*
 
If I understand correctly, data field needs to be a concrete type. How
about the method operation, can I return here a generic List interface?
 
Best regards,
 
Hua
 
 
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page.
To unsubscribe from this group and stop receiving emails from it send an email to google-web-tool...@googlegroups.com.
回复全部
回复作者
转发
0 个新帖子