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