Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does Google-Collections work with GWT?

Tags:

java

guava

gwt

I was just reading my news when I stumbled on Google-Collections project.

Does this work with GWT?

like image 262
jldupont Avatar asked Dec 14 '22 00:12

jldupont


2 Answers

Google Collections 1.0 has the fruits of many, many hours of labor to provide GWT compatibility, but we were not able to get all the way there. So, the zip you download includes on GWT module. If you're very determined you can examine the build.xml file and try to build your own module and see what happens.

The Google Collections project will not evolve past version 1.0; instead, its entire contents have been merged into the Guava project, and it has already begun to evolve further under that umbrella.

We will strive to release a GWT module (or modules?) covering Guava later this quarter.

like image 107
Kevin Bourrillion Avatar answered Feb 08 '23 00:02

Kevin Bourrillion


From reading the javadoc there are annotations for GwtCompatible and GwtIncompatible so this suggests that it does work with GWT though not everything is supported.

like image 41
Mark Avatar answered Feb 08 '23 01:02

Mark