|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfaa.tg.list.TgList<E>
public abstract class TgList<E>
THIS ONLY EXISTS FOR LEGACY CODE: DO NOT USE IT FOR NEW CLASSES.Need this class for backward compatibility: allows the import of old recordings. This class can be deleted when recordings made before 2008/06/05 are no longer needed.
| Field Summary | |
|---|---|
static java.lang.String |
CVS_VERSION_ID
The CVS Version ID |
(package private) static long |
serialVersionUID
|
protected java.util.Vector<E> |
theList
|
| Constructor Summary | |
|---|---|
protected |
TgList()
Deprecated. |
| Method Summary | ||
|---|---|---|
boolean |
add(E e)
|
|
void |
add(int index,
E element)
|
|
boolean |
addAll(java.util.Collection<? extends E> c)
|
|
boolean |
addAll(int index,
java.util.Collection<? extends E> c)
|
|
void |
clear()
|
|
boolean |
contains(java.lang.Object elem)
Tests if the specified object is a component in this List. |
|
boolean |
containsAll(java.util.Collection<?> c)
|
|
E |
get(int index)
|
|
int |
indexOf(java.lang.Object elem)
Searches for the first occurence of the given argument, testing for equality using the equals method. |
|
boolean |
isEmpty()
Tests if this List has no components. |
|
java.util.Iterator<E> |
iterator()
Returns an iterator over the elements in this list. |
|
int |
lastIndexOf(java.lang.Object elem)
Returns the index of the last occurrence of the specified object in this List. |
|
java.util.ListIterator<E> |
listIterator()
|
|
java.util.ListIterator<E> |
listIterator(int index)
|
|
protected java.util.List<E> |
readResolve()
|
|
E |
remove(int index)
|
|
boolean |
remove(java.lang.Object o)
|
|
boolean |
removeAll(java.util.Collection<?> c)
|
|
boolean |
retainAll(java.util.Collection<?> c)
|
|
E |
set(int index,
E element)
|
|
int |
size()
Returns the number of components in this List. |
|
java.util.List<E> |
subList(int fromIndex,
int toIndex)
|
|
java.lang.Object[] |
toArray()
|
|
|
toArray(T[] a)
|
|
java.lang.String |
toString()
Returns a string representation of this List. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.List |
|---|
equals, hashCode |
| Field Detail |
|---|
static final long serialVersionUID
public static final java.lang.String CVS_VERSION_ID
protected final java.util.Vector<E> theList
| Constructor Detail |
|---|
protected TgList()
| Method Detail |
|---|
public final java.util.Iterator<E> iterator()
iterator in interface java.lang.Iterable<E>iterator in interface java.util.Collection<E>iterator in interface java.util.List<E>public final int size()
size in interface java.util.Collection<E>size in interface java.util.List<E>public final boolean isEmpty()
isEmpty in interface java.util.Collection<E>isEmpty in interface java.util.List<E>true if this List has no components;
false otherwise.public final java.lang.String toString()
toString in class java.lang.Objectpublic final boolean contains(java.lang.Object elem)
contains in interface java.util.Collection<E>contains in interface java.util.List<E>elem - an object.
true if the specified object is a component in
this List; false otherwise.public final int indexOf(java.lang.Object elem)
equals method.
indexOf in interface java.util.List<E>elem - an object.
-1 if the object is not found.Object.equals(java.lang.Object)public final int lastIndexOf(java.lang.Object elem)
lastIndexOf in interface java.util.List<E>elem - the desired component.
-1 if the object is not found.public final boolean add(E e)
add in interface java.util.Collection<E>add in interface java.util.List<E>
public final void add(int index,
E element)
add in interface java.util.List<E>public final boolean addAll(java.util.Collection<? extends E> c)
addAll in interface java.util.Collection<E>addAll in interface java.util.List<E>
public final boolean addAll(int index,
java.util.Collection<? extends E> c)
addAll in interface java.util.List<E>public final void clear()
clear in interface java.util.Collection<E>clear in interface java.util.List<E>public final boolean containsAll(java.util.Collection<?> c)
containsAll in interface java.util.Collection<E>containsAll in interface java.util.List<E>public final E get(int index)
get in interface java.util.List<E>public final java.util.ListIterator<E> listIterator()
listIterator in interface java.util.List<E>public final java.util.ListIterator<E> listIterator(int index)
listIterator in interface java.util.List<E>public final boolean remove(java.lang.Object o)
remove in interface java.util.Collection<E>remove in interface java.util.List<E>public final E remove(int index)
remove in interface java.util.List<E>public final boolean removeAll(java.util.Collection<?> c)
removeAll in interface java.util.Collection<E>removeAll in interface java.util.List<E>public final boolean retainAll(java.util.Collection<?> c)
retainAll in interface java.util.Collection<E>retainAll in interface java.util.List<E>
public final E set(int index,
E element)
set in interface java.util.List<E>
public final java.util.List<E> subList(int fromIndex,
int toIndex)
subList in interface java.util.List<E>public final java.lang.Object[] toArray()
toArray in interface java.util.Collection<E>toArray in interface java.util.List<E>public final <T> T[] toArray(T[] a)
toArray in interface java.util.Collection<E>toArray in interface java.util.List<E>
protected java.util.List<E> readResolve()
throws java.io.ObjectStreamException
java.io.ObjectStreamException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||