mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-16 00:09:31 -06:00
GWT: added IterableJsArray.isEmpty().
This commit is contained in:
@@ -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>() {
|
||||
|
||||
Reference in New Issue
Block a user