T - Element type of the listpublic class JSArray<T>
extends com.google.gwt.core.client.JavaScriptObject
| Modifier and Type | Field and Description |
|---|---|
static Boolean[] |
BOOLEAN_ARRAY |
static Date[] |
DATE_ARRAY |
static Double[] |
DOUBLE_ARRAY |
static Integer[] |
INTEGER_ARRAY |
static Long[] |
LONG_ARRAY |
static String[] |
STRING_ARRAY |
| Modifier | Constructor and Description |
|---|---|
protected |
JSArray() |
| Modifier and Type | Method and Description |
|---|---|
T |
_get(int i) |
void |
add(int index,
T element) |
boolean |
add(T e) |
boolean |
addAll(Collection<? extends T> c) |
boolean |
addAll(int index,
Collection<? extends T> c) |
void |
clear() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection<?> c) |
static <T> JSArray<T> |
create() |
static <T> JSArray<T> |
create(T[] objects) |
static <T> JSArray<T> |
eval(String expr) |
T |
get(int i) |
int |
indexOf(Object o) |
boolean |
isEmpty() |
Iterator<T> |
iterator() |
int |
lastIndexOf(Object o) |
ListIterator<T> |
listIterator() |
ListIterator<T> |
listIterator(int index) |
T |
remove(int index) |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> c) |
boolean |
retainAll(Collection<?> c) |
T |
set(int index,
T element) |
int |
size() |
List<T> |
subList(int fromIndex,
int toIndex) |
Object[] |
toArray() |
<U> U[] |
toArray(U[] a) |
int |
unshift(T e) |
public static final String[] STRING_ARRAY
public static final Boolean[] BOOLEAN_ARRAY
public static final Integer[] INTEGER_ARRAY
public static final Long[] LONG_ARRAY
public static final Double[] DOUBLE_ARRAY
public static final Date[] DATE_ARRAY
public static <T> JSArray<T> create()
public static <T> JSArray<T> create(T[] objects)
public final T get(int i)
public final T _get(int i)
public final int unshift(T e)
public final boolean add(T e)
public final void add(int index,
T element)
public final int size()
public final Object[] toArray()
public final <U> U[] toArray(U[] a)
public final boolean addAll(Collection<? extends T> c)
public final boolean addAll(int index,
Collection<? extends T> c)
public final void clear()
public final boolean contains(Object o)
public final boolean containsAll(Collection<?> c)
public final int indexOf(Object o)
public final boolean isEmpty()
public final int lastIndexOf(Object o)
public final ListIterator<T> listIterator()
public final ListIterator<T> listIterator(int index)
public final boolean remove(Object o)
public final T remove(int index)
public final boolean removeAll(Collection<?> c)
public final boolean retainAll(Collection<?> c)
Copyright © 2015. All rights reserved.