@GwtScriptOnly public class IntToListGwt<E> extends com.google.gwt.core.client.JavaScriptObject implements IntTo<E>
IntTo.IntToIterable<T>, IntTo.IntToIterator<T>, IntTo.Many<T>| Modifier | Constructor and Description |
|---|---|
protected |
IntToListGwt() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(E item) |
boolean |
addAll(E... items) |
boolean |
addAll(Iterable<E> items) |
Deque<E> |
asDeque()
If this IntTo is mutable,
you will be getting a DequeProxy, backed by this IntTo.
|
List<E> |
asList()
If this IntTo is mutable,
you will be getting a ListProxy, backed by this IntTo.
|
Set<E> |
asSet()
If this IntTo is mutable,
you will be getting a SetProxy, backed by this IntTo.
|
E |
at(int index) |
void |
clear() |
ObjectTo<Integer,E> |
clone(CollectionOptions options) |
boolean |
contains(E value) |
static <V> IntTo<V> |
create(javax.inject.Provider<V[]> arrayProvider) |
static <V> IntTo<V> |
createForClass(Class<V> cls) |
Map.Entry<Integer,E> |
entryFor(Object key) |
boolean |
findRemove(E value,
boolean all) |
Iterable<E> |
forEach() |
E |
get(Object key) |
E |
getValue(int key) |
int |
indexOf(E value) |
boolean |
insert(int pos,
E item) |
boolean |
isEmpty() |
static <V> IntTo<V> |
newInstance() |
E |
pop() |
void |
push(E value) |
E |
put(Map.Entry<Integer,E> item) |
boolean |
remove(int index) |
E |
remove(Object key) |
void |
set(int index,
E value) |
IntToListGwt<E> |
setArrayProvider(javax.inject.Provider<E[]> provider) |
void |
setValue(Object key,
Object value) |
int |
size() |
E |
splice(int key) |
E[] |
toArray() |
Collection<E> |
toCollection(Collection<E> into) |
Map<Integer,E> |
toMap(Map<Integer,E> into) |
public static <V> IntTo<V> create(javax.inject.Provider<V[]> arrayProvider)
public static <V> IntTo<V> newInstance()
public final Deque<E> asDeque()
IntTopublic final List<E> asList()
IntToIf this IntTo is immutable, you are getting an ArrayList you can mutate as you wish.
public final Set<E> asSet()
IntTopublic final void clear()
clear in interface CollectionProxy<Integer,E>public final ObjectTo<Integer,E> clone(CollectionOptions options)
clone in interface CollectionProxy<Integer,E>public final Map.Entry<Integer,E> entryFor(Object key)
entryFor in interface CollectionProxy<Integer,E>public final boolean findRemove(E value, boolean all)
findRemove in interface IntTo<E>public final E getValue(int key)
public final boolean isEmpty()
isEmpty in interface CollectionProxy<Integer,E>public final E put(Map.Entry<Integer,E> item)
put in interface CollectionProxy<Integer,E>public final E remove(Object key)
remove in interface CollectionProxy<Integer,E>public final IntToListGwt<E> setArrayProvider(javax.inject.Provider<E[]> provider)
public final void setValue(Object key, Object value)
setValue in interface CollectionProxy<Integer,E>public final int size()
size in interface CollectionProxy<Integer,E>public final E splice(int key)
public final E[] toArray()
toArray in interface CollectionProxy<Integer,E>public final Collection<E> toCollection(Collection<E> into)
toCollection in interface CollectionProxy<Integer,E>Copyright © December 07, 2012–2015 The Internet Party. All rights reserved.