public class ListOf<V> extends Object implements List<V>
| Constructor and Description |
|---|
ListOf() |
ListOf(CollectionOptions opts) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(int index,
V element) |
boolean |
add(V e) |
boolean |
addAll(Collection<? extends V> c) |
boolean |
addAll(int index,
Collection<? extends V> c) |
void |
clear() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection<?> c) |
static <V> List<V> |
create(CollectionOptions options) |
V |
get(int index) |
int |
indexOf(Object o) |
boolean |
isEmpty() |
Iterator<V> |
iterator() |
int |
lastIndexOf(Object o) |
ListIterator<V> |
listIterator() |
ListIterator<V> |
listIterator(int index) |
V |
remove(int index) |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> c) |
boolean |
retainAll(Collection<?> c) |
V |
set(int index,
V element) |
int |
size() |
List<V> |
subList(int fromIndex,
int toIndex) |
Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequals, hashCode, replaceAll, sort, spliteratorparallelStream, removeIf, streampublic ListOf()
public ListOf(CollectionOptions opts)
public int size()
public boolean isEmpty()
public boolean contains(Object o)
public Object[] toArray()
public <T> T[] toArray(T[] a)
public boolean add(V e)
public boolean remove(Object o)
public boolean containsAll(Collection<?> c)
containsAll in interface Collection<V>containsAll in interface List<V>public boolean addAll(Collection<? extends V> c)
public boolean addAll(int index,
Collection<? extends V> c)
public boolean removeAll(Collection<?> c)
public boolean retainAll(Collection<?> c)
public void clear()
public int lastIndexOf(Object o)
lastIndexOf in interface List<V>public ListIterator<V> listIterator()
listIterator in interface List<V>public ListIterator<V> listIterator(int index)
listIterator in interface List<V>public static <V> List<V> create(CollectionOptions options)
Copyright © December 07, 2012–2015 The Internet Party. All rights reserved.