public static class CollectionUtils.ListBuilder<E> extends Object implements List<E>
| Constructor and Description |
|---|
ListBuilder(List<E> delegate) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(E e) |
void |
add(int i,
E e) |
boolean |
addAll(Collection<? extends E> es) |
boolean |
addAll(int i,
Collection<? extends E> es) |
void |
clear() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection<?> objects) |
CollectionUtils.ListBuilder<E> |
e(E e) |
boolean |
equals(Object o) |
E |
get(int i) |
int |
hashCode() |
int |
indexOf(Object o) |
boolean |
isEmpty() |
Iterator<E> |
iterator() |
int |
lastIndexOf(Object o) |
ListIterator<E> |
listIterator() |
ListIterator<E> |
listIterator(int i) |
E |
remove(int i) |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> objects) |
boolean |
retainAll(Collection<?> objects) |
E |
set(int i,
E e) |
int |
size() |
List<E> |
subList(int i,
int i1) |
Object[] |
toArray() |
<T> T[] |
toArray(T[] ts) |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitreplaceAll, sort, spliteratorparallelStream, removeIf, streampublic CollectionUtils.ListBuilder<E> e(E e)
public int size()
public boolean isEmpty()
public boolean contains(Object o)
public Object[] toArray()
public <T> T[] toArray(T[] ts)
public boolean add(E e)
public boolean remove(Object o)
public boolean containsAll(Collection<?> objects)
containsAll in interface Collection<E>containsAll in interface List<E>public boolean addAll(Collection<? extends E> es)
public boolean addAll(int i,
Collection<? extends E> es)
public boolean removeAll(Collection<?> objects)
public boolean retainAll(Collection<?> objects)
public void clear()
public boolean equals(Object o)
public int hashCode()
public int lastIndexOf(Object o)
lastIndexOf in interface List<E>public ListIterator<E> listIterator()
listIterator in interface List<E>public ListIterator<E> listIterator(int i)
listIterator in interface List<E>