public class FluentArrayList<E> extends ArrayList<E>
ArrayList
that supports fluent API.modCount
Constructor and Description |
---|
FluentArrayList() |
FluentArrayList(Collection<? extends E> c) |
FluentArrayList(E... elements) |
FluentArrayList(int initialCapacity) |
Modifier and Type | Method and Description |
---|---|
FluentArrayList<E> |
append(E e)
Fluent method to add the specified element to this list.
|
FluentArrayList<E> |
appendAll(Collection<? extends E> c)
Fluent method to add the elements from the specified collection to this
list.
|
FluentArrayList<E> |
appendAll(E... elements)
Fluent method to add the elements to this list.
|
FluentArrayList<E> |
delete(Object o)
Fluent method to remove the specified element from this list.
|
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeRange, retainAll, set, size, subList, toArray, toArray, trimToSize
equals, hashCode
containsAll, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
containsAll, equals, hashCode
public FluentArrayList(int initialCapacity)
public FluentArrayList()
public FluentArrayList(E... elements)
public FluentArrayList(Collection<? extends E> c)
public FluentArrayList<E> append(E e)
public FluentArrayList<E> delete(Object o)
public FluentArrayList<E> appendAll(Collection<? extends E> c)
public FluentArrayList<E> appendAll(E... elements)
Copyright © 2016. All rights reserved.