T
- the type?java.lang.Iterable<T>
, java.util.Collection<T>
, java.util.List<T>
CustSortListWrap
public class SortedListWrap<T extends java.lang.Comparable<T>>
extends java.lang.Object
implements java.util.List<T>
Constructor | Description |
---|---|
SortedListWrap(java.util.List<T> list) |
Modifier and Type | Method | Description |
---|---|---|
void |
add(int arg0,
T arg1) |
|
boolean |
add(T arg0) |
|
boolean |
addAll(int arg0,
java.util.Collection<? extends T> arg1) |
|
boolean |
addAll(java.util.Collection<? extends T> arg0) |
|
void |
clear() |
|
protected int |
compareTo(T arg0,
java.lang.Object arg1) |
|
boolean |
contains(java.lang.Object arg0) |
|
boolean |
containsAll(java.util.Collection<?> arg0) |
|
T |
get(int arg0) |
|
int |
indexOf(java.lang.Object arg0) |
|
boolean |
isEmpty() |
|
java.util.Iterator<T> |
iterator() |
|
int |
lastIndexOf(java.lang.Object arg0) |
|
java.util.ListIterator<T> |
listIterator() |
|
java.util.ListIterator<T> |
listIterator(int arg0) |
|
T |
remove(int arg0) |
|
boolean |
remove(java.lang.Object arg0) |
|
boolean |
removeAll(java.util.Collection<?> arg0) |
|
boolean |
retainAll(java.util.Collection<?> arg0) |
|
T |
set(int arg0,
T arg1) |
|
int |
size() |
|
java.util.List<T> |
subList(int arg0,
int arg1) |
|
java.lang.Object[] |
toArray() |
|
<T> T[] |
toArray(T[] arg0) |
public SortedListWrap(java.util.List<T> list)
protected int compareTo(T arg0, java.lang.Object arg1)
public boolean add(T arg0)
public void add(int arg0, T arg1)
public boolean addAll(java.util.Collection<? extends T> arg0)
public boolean addAll(int arg0, java.util.Collection<? extends T> arg1)
public void clear()
public boolean contains(java.lang.Object arg0)
public boolean containsAll(java.util.Collection<?> arg0)
public T get(int arg0)
public int indexOf(java.lang.Object arg0)
public boolean isEmpty()
public java.util.Iterator<T> iterator()
public int lastIndexOf(java.lang.Object arg0)
public java.util.ListIterator<T> listIterator()
public java.util.ListIterator<T> listIterator(int arg0)
public boolean remove(java.lang.Object arg0)
public T remove(int arg0)
public boolean removeAll(java.util.Collection<?> arg0)
public boolean retainAll(java.util.Collection<?> arg0)
public int size()
public java.util.List<T> subList(int arg0, int arg1)
public java.lang.Object[] toArray()