yep

that worked. thanks a bunch.

I have seen the @DoNotAutoBox and I tried with Integer, Number, JsNumber.

Note: I can put int in the JsPropertyMap but I cannot read it back. So
I cast it to (double) and the then to (int). I believe that is because
JavaScript does not have int type.

thanks again.


On Wed, Aug 14, 2019 at 5:38 PM Jens <[email protected]> wrote:
>
> JsPropertyMap.set(key, value) is marked with @DoNotAutoBox, so I guess you 
> should be able to use JsPropertyMap<Object> and set int, float, double into 
> it without them being auto boxed.
>
> -- J.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "GWT Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/google-web-toolkit/dd759896-4174-411d-b870-593054e1c660%40googlegroups.com.



-- 
Vassilis Virvilis

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/CAKbOjEzHuG5ZC7igRyvzrkLt26qBWkxNUeuWL%2BZNbKCo%2BcShgA%40mail.gmail.com.

Reply via email to