public class IntToList<E> extends Object implements IntTo<E>
IntTo.IntToIterable<T>, IntTo.IntToIterator<T>, IntTo.Many<T>| 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) |
Map.Entry<Integer,E> |
entryFor(Object key) |
boolean |
findRemove(E value,
boolean all) |
Iterable<E> |
forEach() |
E |
get(Object key) |
int |
indexOf(E value) |
boolean |
insert(int pos,
E item) |
boolean |
isEmpty() |
protected Collection<E> |
newCollection() |
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) |
void |
setValue(Object key,
Object value) |
int |
size() |
E[] |
toArray() |
Collection<E> |
toCollection(Collection<E> into) |
Map<Integer,E> |
toMap(Map<Integer,E> into) |
String |
toString() |
public ObjectTo<Integer,E> clone(CollectionOptions options)
clone in interface CollectionProxy<Integer,E>public E put(Map.Entry<Integer,E> item)
put in interface CollectionProxy<Integer,E>public Map.Entry<Integer,E> entryFor(Object key)
entryFor in interface CollectionProxy<Integer,E>public void setValue(Object key, Object value)
setValue in interface CollectionProxy<Integer,E>public int size()
size in interface CollectionProxy<Integer,E>public E[] toArray()
toArray in interface CollectionProxy<Integer,E>public Collection<E> toCollection(Collection<E> into)
toCollection in interface CollectionProxy<Integer,E>protected Collection<E> newCollection()
public Map<Integer,E> toMap(Map<Integer,E> into)
toMap in interface CollectionProxy<Integer,E>public boolean isEmpty()
isEmpty in interface CollectionProxy<Integer,E>public void clear()
clear in interface CollectionProxy<Integer,E>public boolean findRemove(E value, boolean all)
findRemove in interface IntTo<E>public List<E> asList()
IntToIf this IntTo is immutable, you are getting an ArrayList you can mutate as you wish.
public Set<E> asSet()
IntTopublic Deque<E> asDeque()
IntToCopyright © December 07, 2012–2015 The Internet Party. All rights reserved.