简体   繁体   中英

GWT client-side: java.util or com.google.gwt.dev.util?

On a GWT client-side, is it better to use java.util, or com.google.gwt.dev.util? Does it matter? What is the biggest reason for com.google.gwt.dev.util existing?

For example, would it be better to use java.util.HashMap, or com.google.gwt.dev.util.collections.HashMap? Is it com.google.gwt.dev.util.collections.HashMap, as its JavaDoc says it's memory-efficient?

You should refrain from using any classes from gwt-dev library. gwt-dev.jar is not supposed to be present in your runtime class path. It is only required for running the application in development mode.

GWT: Difference between gwt-user.jar and gwt-dev.jar?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM