java.io.Serializable
, java.lang.Cloneable
, java.lang.Iterable<T>
, java.util.Collection<T>
, java.util.List<T>
, java.util.RandomAccess
MapKeyList
, StringXVector
public class XVector<T>
extends java.util.Vector<T>
Modifier and Type | Field | Description |
---|---|---|
java.util.Comparator<T> |
anyComparator |
|
protected java.util.Comparator<T> |
comparator |
|
static ReadOnlyList |
empty |
Constructor | Description |
---|---|
XVector() |
|
XVector(int size,
boolean boo) |
|
XVector(java.util.Enumeration<T> E) |
|
XVector(java.util.Iterator<T> E) |
|
XVector(java.util.List<? extends T> V) |
|
XVector(java.util.List<? extends T> V,
int start) |
|
XVector(java.util.Set<T> E) |
|
XVector(T E) |
|
XVector(T[] E) |
|
XVector(T E,
T E2) |
|
XVector(T E,
T E2,
T E3) |
|
XVector(T E,
T E2,
T E3,
T E4) |
|
XVector(T E,
T E2,
T E3,
T E4,
T E5) |
|
XVector(T E,
T E2,
T E3,
T E4,
T E5,
T E6) |
Modifier and Type | Method | Description |
---|---|---|
void |
addAll(java.util.Enumeration<? extends T> E) |
|
void |
addAll(java.util.Iterator<? extends T> E) |
|
void |
addAll(T[] E) |
|
XVector<T> |
append(T E) |
|
XVector<T> |
append(T[] E) |
|
java.util.List<T>[] |
makeDeltas(java.util.List<T> target,
java.util.Comparator<T> comp) |
Called from a new version of the list, this will return a set of
two lists, the first being things that need adding, because they
are missing from the old one, and the second list being things that
need removing, because they are missing from this one.
|
void |
removeAll(java.util.Enumeration<? extends T> E) |
|
void |
removeAll(java.util.Iterator<? extends T> E) |
|
void |
removeAll(java.util.List<T> E) |
|
void |
setComparator(java.util.Comparator<T> comparator) |
|
void |
sort() |
finalize, getClass, notify, notifyAll, wait, wait, wait
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, forEach, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, iterator, lastElement, lastIndexOf, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeIf, removeRange, replaceAll, retainAll, set, setElementAt, setSize, size, sort, spliterator, subList, toArray, toArray, toString, trimToSize
public static final ReadOnlyList empty
public final java.util.Comparator<T> anyComparator
protected java.util.Comparator<T> comparator
public XVector(java.util.List<? extends T> V)
public XVector(java.util.List<? extends T> V, int start)
public XVector()
public XVector(int size, boolean boo)
public XVector(T[] E)
public XVector(T E)
public XVector(java.util.Set<T> E)
public XVector(java.util.Enumeration<T> E)
public XVector(java.util.Iterator<T> E)
public void addAll(java.util.Enumeration<? extends T> E)
public void addAll(T[] E)
public void addAll(java.util.Iterator<? extends T> E)
public void removeAll(java.util.Enumeration<? extends T> E)
public void removeAll(java.util.Iterator<? extends T> E)
public void removeAll(java.util.List<T> E)
public void setComparator(java.util.Comparator<T> comparator)
public final java.util.List<T>[] makeDeltas(java.util.List<T> target, java.util.Comparator<T> comp)
target
- the old version of the listcomp
- a comparator to use for the object,public void sort()