Guava Libraries

APIリファレンス guava0.9r
公式サイト

Googleが提供するJavaライブラリー
Java 1.5ベースでGAE・GWT・Androidで動く
Java Collections Libraryは、これのサブセットになった。

Jakarta Commonsと似てるクラスもあるけど、こっちはGenericやAnnotation、GWT対応が特徴

サブページ リスト


GWTでの注意点

結構gwtにはクラスがない。
ioとかまるごと無い

APIリファレンスで@GwtCompatibleが付いてると使用可能

よくあるエラー Eclipseの補完で間違ってgwtの内部で使用しているguavaをimportしてしまう
No source code is available for type com.google.gwt.thirdparty.guava.common.base.Throwables; did you forget to inherit a required module?
import com.google.gwt.thirdparty.guava.common.base.Throwables;



サブページ (2): Strings Suppliers
Comments