T
- public class SortableConcurrentList<T extends Comparable> extends Object implements List<T>
Constructor and Description |
---|
SortableConcurrentList() |
SortableConcurrentList(List<T> list) |
Modifier and Type | Method and Description |
---|---|
void |
add(int index,
T element) |
boolean |
add(T t) |
boolean |
addAll(Collection<? extends T> c) |
boolean |
addAll(int index,
Collection<? extends T> c) |
void |
clear() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection<?> c) |
T |
get(int index) |
int |
indexOf(Object o) |
boolean |
isEmpty() |
Iterator<T> |
iterator() |
int |
lastIndexOf(Object o) |
ListIterator<T> |
listIterator() |
ListIterator<T> |
listIterator(int index) |
T |
remove(int index) |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> c) |
boolean |
retainAll(Collection<?> c) |
T |
set(int index,
T element) |
int |
size() |
void |
sort() |
List<T> |
sortAndReturnPurgeList(float removePercent) |
List<T> |
subList(int fromIndex,
int toIndex) |
Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
String |
toString() |
public boolean remove(Object o)
remove
in interface Collection<T extends Comparable>
remove
in interface List<T extends Comparable>
public boolean containsAll(Collection<?> c)
containsAll
in interface Collection<T extends Comparable>
containsAll
in interface List<T extends Comparable>
public boolean addAll(Collection<? extends T> c)
addAll
in interface Collection<T extends Comparable>
addAll
in interface List<T extends Comparable>
public boolean addAll(int index, Collection<? extends T> c)
addAll
in interface List<T extends Comparable>
public boolean removeAll(Collection<?> c)
removeAll
in interface Collection<T extends Comparable>
removeAll
in interface List<T extends Comparable>
public boolean retainAll(Collection<?> c)
retainAll
in interface Collection<T extends Comparable>
retainAll
in interface List<T extends Comparable>
public boolean add(T t)
add
in interface Collection<T extends Comparable>
add
in interface List<T extends Comparable>
public void clear()
clear
in interface Collection<T extends Comparable>
clear
in interface List<T extends Comparable>
public int size()
size
in interface Collection<T extends Comparable>
size
in interface List<T extends Comparable>
public boolean isEmpty()
isEmpty
in interface Collection<T extends Comparable>
isEmpty
in interface List<T extends Comparable>
public boolean contains(Object o)
contains
in interface Collection<T extends Comparable>
contains
in interface List<T extends Comparable>
public Iterator<T> iterator()
iterator
in interface Iterable<T extends Comparable>
iterator
in interface Collection<T extends Comparable>
iterator
in interface List<T extends Comparable>
public Object[] toArray()
toArray
in interface Collection<T extends Comparable>
toArray
in interface List<T extends Comparable>
public <T> T[] toArray(T[] a)
toArray
in interface Collection<T extends Comparable>
toArray
in interface List<T extends Comparable>
public T get(int index)
get
in interface List<T extends Comparable>
public void add(int index, T element)
add
in interface List<T extends Comparable>
public T remove(int index)
remove
in interface List<T extends Comparable>
public int indexOf(Object o)
indexOf
in interface List<T extends Comparable>
public int lastIndexOf(Object o)
lastIndexOf
in interface List<T extends Comparable>
public ListIterator<T> listIterator()
listIterator
in interface List<T extends Comparable>
public ListIterator<T> listIterator(int index)
listIterator
in interface List<T extends Comparable>
public List<T> subList(int fromIndex, int toIndex)
subList
in interface List<T extends Comparable>
public void sort()
Copyright © 2014. All rights reserved.