public interface IntTo<T> extends CollectionProxy<Integer,T>
| Modifier and Type | Interface and Description |
|---|---|
static class |
IntTo.IntToIterable<T> |
static class |
IntTo.IntToIterator<T> |
static interface |
IntTo.Many<T> |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(T item) |
boolean |
addAll(Iterable<T> items) |
boolean |
addAll(T... items) |
Deque<T> |
asDeque()
If this IntTo is mutable,
you will be getting a DequeProxy, backed by this IntTo.
|
List<T> |
asList()
If this IntTo is mutable,
you will be getting a ListProxy, backed by this IntTo.
|
Set<T> |
asSet()
If this IntTo is mutable,
you will be getting a SetProxy, backed by this IntTo.
|
T |
at(int index) |
boolean |
contains(T value) |
boolean |
findRemove(T value,
boolean all) |
Iterable<T> |
forEach() |
int |
indexOf(T value) |
boolean |
insert(int pos,
T item) |
T |
pop() |
void |
push(T value) |
boolean |
remove(int index) |
void |
set(int index,
T value) |
boolean add(T item)
boolean addAll(T... items)
boolean insert(int pos,
T item)
boolean contains(T value)
T at(int index)
int indexOf(T value)
boolean remove(int index)
boolean findRemove(T value, boolean all)
void set(int index,
T value)
void push(T value)
T pop()
List<T> asList()
If this IntTo is immutable, you are getting an ArrayList you can mutate as you wish.
Set<T> asSet()
Copyright © December 07, 2012–2015 The Internet Party. All rights reserved.