public class FluentArrayList<E> extends ArrayList<E>
ArrayList
that supports fluent API.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, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
equals, hashCode
containsAll, toString
containsAll, equals, hashCode
parallelStream, stream
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 © 2013 Amazon Web Services, Inc. All Rights Reserved.