T
- Type of itempublic final class VerboseList<T> extends Object implements List<T>
Constructor and Description |
---|
VerboseList(List<T> list,
String msg)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
void |
add(int index,
T element) |
boolean |
add(T item) |
boolean |
addAll(Collection<? extends T> coll) |
boolean |
addAll(int index,
Collection<? extends T> coll) |
void |
clear() |
boolean |
contains(Object obj) |
boolean |
containsAll(Collection<?> coll) |
T |
get(int index) |
int |
indexOf(Object obj) |
boolean |
isEmpty() |
Iterator<T> |
iterator() |
int |
lastIndexOf(Object obj) |
ListIterator<T> |
listIterator() |
ListIterator<T> |
listIterator(int index) |
T |
remove(int index) |
boolean |
remove(Object obj) |
boolean |
removeAll(Collection<?> coll) |
boolean |
retainAll(Collection<?> coll) |
T |
set(int index,
T element) |
int |
size() |
List<T> |
subList(int fridx,
int toidx) |
Object[] |
toArray() |
<E> E[] |
toArray(E[] arr) |
public int size()
public boolean isEmpty()
public boolean contains(Object obj)
public Object[] toArray()
public <E> E[] toArray(E[] arr)
public boolean add(T item)
public boolean remove(Object obj)
public boolean containsAll(Collection<?> coll)
containsAll
in interface Collection<T>
containsAll
in interface List<T>
public boolean addAll(Collection<? extends T> coll)
public boolean addAll(int index, Collection<? extends T> coll)
public boolean removeAll(Collection<?> coll)
public boolean retainAll(Collection<?> coll)
public void clear()
public int lastIndexOf(Object obj)
lastIndexOf
in interface List<T>
public ListIterator<T> listIterator()
listIterator
in interface List<T>
public ListIterator<T> listIterator(int index)
listIterator
in interface List<T>
Copyright © 2015–2017 Take. All rights reserved.