public class ListWrapper<Poly> extends AbstractList<Poly>
Modifier and Type | Field and Description |
---|---|
List<Poly> |
list
Inner list
|
modCount
Constructor and Description |
---|
ListWrapper(List<Poly> list) |
Modifier and Type | Method and Description |
---|---|
void |
add(int index,
Poly element) |
boolean |
add(Poly poly) |
boolean |
addAll(Collection<? extends Poly> c) |
boolean |
addAll(int index,
Collection<? extends Poly> c) |
void |
clear() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection<?> c) |
boolean |
equals(Object o) |
void |
forEach(Consumer<? super Poly> action) |
Poly |
get(int index) |
int |
hashCode() |
int |
indexOf(Object o) |
boolean |
isEmpty() |
Iterator<Poly> |
iterator() |
int |
lastIndexOf(Object o) |
ListIterator<Poly> |
listIterator() |
ListIterator<Poly> |
listIterator(int index) |
Stream<Poly> |
parallelStream() |
Poly |
remove(int index) |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> c) |
boolean |
removeIf(Predicate<? super Poly> filter) |
protected void |
removeRange(int fromIndex,
int toIndex) |
void |
replaceAll(UnaryOperator<Poly> operator) |
boolean |
retainAll(Collection<?> c) |
Poly |
set(int index,
Poly element) |
int |
size() |
void |
sort(Comparator<? super Poly> c) |
Spliterator<Poly> |
spliterator() |
Stream<Poly> |
stream() |
List<Poly> |
subList(int fromIndex,
int toIndex) |
Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
String |
toString() |
public boolean isEmpty()
isEmpty
in interface Collection<Poly>
isEmpty
in interface List<Poly>
isEmpty
in class AbstractCollection<Poly>
public boolean contains(Object o)
contains
in interface Collection<Poly>
contains
in interface List<Poly>
contains
in class AbstractCollection<Poly>
public Object[] toArray()
toArray
in interface Collection<Poly>
toArray
in interface List<Poly>
toArray
in class AbstractCollection<Poly>
public <T> T[] toArray(T[] a)
toArray
in interface Collection<Poly>
toArray
in interface List<Poly>
toArray
in class AbstractCollection<Poly>
public boolean remove(Object o)
remove
in interface Collection<Poly>
remove
in interface List<Poly>
remove
in class AbstractCollection<Poly>
public boolean containsAll(Collection<?> c)
containsAll
in interface Collection<Poly>
containsAll
in interface List<Poly>
containsAll
in class AbstractCollection<Poly>
public boolean addAll(Collection<? extends Poly> c)
addAll
in interface Collection<Poly>
addAll
in interface List<Poly>
addAll
in class AbstractCollection<Poly>
public boolean removeAll(Collection<?> c)
removeAll
in interface Collection<Poly>
removeAll
in interface List<Poly>
removeAll
in class AbstractCollection<Poly>
public boolean retainAll(Collection<?> c)
retainAll
in interface Collection<Poly>
retainAll
in interface List<Poly>
retainAll
in class AbstractCollection<Poly>
public void replaceAll(UnaryOperator<Poly> operator)
public void sort(Comparator<? super Poly> c)
public Spliterator<Poly> spliterator()
public boolean add(Poly poly)
add
in interface Collection<Poly>
add
in interface List<Poly>
add
in class AbstractList<Poly>
public void add(int index, Poly element)
public Poly remove(int index)
public int indexOf(Object o)
public int lastIndexOf(Object o)
lastIndexOf
in interface List<Poly>
lastIndexOf
in class AbstractList<Poly>
public void clear()
clear
in interface Collection<Poly>
clear
in interface List<Poly>
clear
in class AbstractList<Poly>
public boolean addAll(int index, Collection<? extends Poly> c)
public ListIterator<Poly> listIterator()
listIterator
in interface List<Poly>
listIterator
in class AbstractList<Poly>
public ListIterator<Poly> listIterator(int index)
listIterator
in interface List<Poly>
listIterator
in class AbstractList<Poly>
public boolean equals(Object o)
equals
in interface Collection<Poly>
equals
in interface List<Poly>
equals
in class AbstractList<Poly>
public int hashCode()
hashCode
in interface Collection<Poly>
hashCode
in interface List<Poly>
hashCode
in class AbstractList<Poly>
protected void removeRange(int fromIndex, int toIndex)
removeRange
in class AbstractList<Poly>
public Poly get(int index)
public int size()
size
in interface Collection<Poly>
size
in interface List<Poly>
size
in class AbstractCollection<Poly>
public String toString()
toString
in class AbstractCollection<Poly>
Copyright © 2018. All rights reserved.