gwt - Method in RequestContext interface containing Map as return type -


am getting error while trying this. using gwt2.5 , requestfactory.

my server class looks this:

public class ruleconfiguration {      public static map<long, list<operator>> getdatatypeoperatormappings() {         return datatypeoperatormappinghelper.getinstance().getvaliddatatypetooperatormappings();     } } 

and corresponding requestcontextclass looks this

import java.util.list; import java.util.map;   @service( value = ruleconfiguration.class ) public interface rulerequestcontext extends requestcontext {      request<map<long, list<operatorproxy>>> getdatatypeoperatormappings(); } 

but here getting error saying the type java.util.map<"map signature"> cannot used here

what mistake here? kindly help. thanks.

if here https://developers.google.com/web-toolkit/doc/latest/devguiderequestfactory doesn't list map transportable type - list , set. had problem once , solved breaking map 2 arraylist index of 1 data other.


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -