1
0
forked from GitHub/gf-core

GWT: added IterableJsArray.isEmpty().

This commit is contained in:
bjorn
2008-10-27 10:18:21 +00:00
parent 970e69add9
commit 9457ebe0c3

View File

@@ -9,6 +9,10 @@ import com.google.gwt.core.client.JsArray;
public class IterableJsArray<T extends JavaScriptObject> extends JsArray<T> {
protected IterableJsArray() {}
public final boolean isEmpty() {
return length() == 0;
}
public final Iterable<T> iterable() {
return new Iterable<T>() {