CList<T>
, java.io.Serializable
, java.lang.Iterable<T>
, java.util.Collection<T>
, java.util.List<T>
, java.util.RandomAccess
CMUniqSortSVec
, PairSVector
, Quest.QuestScript
, SortedStrSVector
, TriadSVector
public class SVector<T> extends java.lang.Object implements java.io.Serializable, java.lang.Iterable<T>, java.util.Collection<T>, CList<T>, java.util.RandomAccess
Constructor | Description |
---|---|
SVector() |
|
SVector(int size) |
|
SVector(java.util.Enumeration<T> T) |
|
SVector(java.util.Iterator<T> T) |
|
SVector(java.util.List<T> T) |
|
SVector(java.util.Set<T> T) |
|
SVector(T[] T) |
Modifier and Type | Method | Description |
---|---|---|
void |
add(int index,
T element) |
|
boolean |
add(T e) |
|
boolean |
addAll(int index,
java.util.Collection<? extends T> c) |
|
boolean |
addAll(java.util.Collection<? extends T> c) |
|
void |
addAll(java.util.Enumeration<T> T) |
|
void |
addAll(java.util.Iterator<T> T) |
|
void |
addAll(T[] T) |
|
void |
addElement(T obj) |
|
int |
capacity() |
|
void |
clear() |
|
SVector<T> |
clone() |
|
boolean |
contains(java.lang.Object o) |
|
boolean |
containsAll(java.util.Collection<?> c) |
|
void |
copyInto(java.lang.Object[] anArray) |
|
SVector<T> |
copyOf() |
|
T |
elementAt(int index) |
|
java.util.Enumeration<T> |
elements() |
|
void |
ensureCapacity(int minCapacity) |
|
boolean |
equals(java.lang.Object o) |
|
T |
firstElement() |
|
T |
get(int index) |
|
int |
hashCode() |
|
int |
indexOf(java.lang.Object o) |
|
void |
insertElementAt(T obj,
int index) |
|
boolean |
isEmpty() |
|
java.util.Iterator<T> |
iterator() |
|
T |
lastElement() |
|
int |
lastIndexOf(java.lang.Object o) |
|
java.util.ListIterator<T> |
listIterator() |
|
java.util.ListIterator<T> |
listIterator(int index) |
|
T |
remove(int index) |
|
boolean |
remove(java.lang.Object o) |
|
boolean |
removeAll(java.util.Collection<?> c) |
|
void |
removeAll(java.util.Enumeration<T> T) |
|
void |
removeAll(java.util.Iterator<T> T) |
|
void |
removeAll(java.util.List<T> T) |
|
void |
removeAllElements() |
|
boolean |
removeElement(java.lang.Object obj) |
|
void |
removeElementAt(int index) |
|
boolean |
retainAll(java.util.Collection<?> c) |
|
T |
set(int index,
T element) |
|
void |
setElementAt(T obj,
int index) |
|
void |
setSize(int newSize) |
|
int |
size() |
|
java.util.List<T> |
subList(int fromIndex,
int toIndex) |
|
java.lang.Object[] |
toArray() |
|
<T> T[] |
toArray(T[] a) |
|
java.util.Vector<T> |
toVector() |
|
void |
trimToSize() |
public SVector()
public SVector(int size)
public SVector(java.util.List<T> T)
public SVector(T[] T)
public SVector(java.util.Enumeration<T> T)
public SVector(java.util.Iterator<T> T)
public SVector(java.util.Set<T> T)
public void addAll(java.util.Enumeration<T> T)
public void addAll(T[] T)
public void addAll(java.util.Iterator<T> T)
public void removeAll(java.util.Enumeration<T> T)
public void removeAll(java.util.Iterator<T> T)
public void removeAll(java.util.List<T> T)
public int capacity()
public java.util.Vector<T> toVector()
public void copyInto(java.lang.Object[] anArray)
public T elementAt(int index)
public void ensureCapacity(int minCapacity)
public T firstElement()
public T lastElement()
public void setElementAt(T obj, int index)
public void setSize(int newSize)
public void trimToSize()
trimToSize
in interface CList<T>
public void addElement(T obj)
public void insertElementAt(T obj, int index)
public void removeAllElements()
public int size()
public boolean isEmpty()
public boolean contains(java.lang.Object o)
public java.util.Iterator<T> iterator()
public java.lang.Object[] toArray()
public <T> T[] toArray(T[] a)
public boolean add(T e)
public boolean remove(java.lang.Object o)
public boolean containsAll(java.util.Collection<?> c)
public boolean addAll(java.util.Collection<? extends T> c)
public boolean addAll(int index, java.util.Collection<? extends T> c)
addAll
in interface java.util.List<T>
public boolean removeAll(java.util.Collection<?> c)
public boolean retainAll(java.util.Collection<?> c)
public void clear()
public boolean equals(java.lang.Object o)
public int hashCode()
public int indexOf(java.lang.Object o)
indexOf
in interface java.util.List<T>
public int lastIndexOf(java.lang.Object o)
lastIndexOf
in interface java.util.List<T>
public java.util.ListIterator<T> listIterator()
listIterator
in interface java.util.List<T>
public java.util.ListIterator<T> listIterator(int index)
listIterator
in interface java.util.List<T>
public java.util.List<T> subList(int fromIndex, int toIndex)
subList
in interface java.util.List<T>
public boolean removeElement(java.lang.Object obj)
public void removeElementAt(int index)