|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecteu.beesoft.gaia.util.FastList<E>
public class FastList<E>
| Constructor Summary | |
|---|---|
FastList()
|
|
FastList(java.util.List<E> initialData)
|
|
| Method Summary | ||
|---|---|---|
boolean |
add(E o)
Appends the specified element to the end of this List (optional operation). |
|
void |
add(int index,
E element)
Inserts the specified element at the specified position in this list (optional operation). |
|
boolean |
addAll(java.util.Collection<? extends E> c)
Appends all of the elements in the specified collection to the end of this list, in the order that they are returned by the specified collection's iterator (optional operation). |
|
boolean |
addAll(int index,
java.util.Collection<? extends E> c)
Inserts all of the elements in the specified collection into this list at the specified position (optional operation). |
|
void |
clear()
Removes all of the elements from this collection (optional operation). |
|
boolean |
contains(java.lang.Object o)
Returns true if this list contains the specified element. |
|
boolean |
containsAll(java.util.Collection<?> c)
Returns true if this list contains all of the elements of the specified collection. |
|
protected java.util.List<E> |
createList()
|
|
boolean |
equals(java.lang.Object o)
Compares the specified object with this list for equality. |
|
E |
get(int index)
Returns the element at the specified position in this list. |
|
int |
hashCode()
Returns the hash code value for this list. |
|
int |
indexOf(java.lang.Object o)
Returns the index in this list of the first occurence of the specified element, or -1 if the list does not contain this element. |
|
boolean |
isEmpty()
|
|
java.util.Iterator<E> |
iterator()
Returns an iterator over the elements in this list in proper sequence. |
|
int |
lastIndexOf(java.lang.Object o)
Returns the index in this list of the last occurence of the specified element, or -1 if the list does not contain this element. |
|
java.util.ListIterator<E> |
listIterator()
Returns an iterator of the elements in this list (in proper sequence). |
|
java.util.ListIterator<E> |
listIterator(int index)
Returns a list iterator of the elements in this list (in proper sequence), starting at the specified position in the list. |
|
E |
remove(int index)
Removes the element at the specified position in this list (optional operation). |
|
boolean |
remove(java.lang.Object o)
Removes the first occurrence in this list of the specified element (optional operation). |
|
boolean |
removeAll(java.util.Collection<?> c)
Removes from this list all the elements that are contained in the specified collection (optional operation). |
|
boolean |
retainAll(java.util.Collection<?> c)
Retains only the elements in this list that are contained in the specified collection (optional operation). |
|
E |
set(int index,
E element)
Replaces the element at the specified position in this list with the specified element (optional operation). |
|
int |
size()
|
|
java.util.List<E> |
subList(int fromIndex,
int toIndex)
Returns a view of the portion of this list between fromIndex, inclusive, and toIndex, exclusive. |
|
java.lang.Object[] |
toArray()
|
|
|
toArray(T[] a)
Returns an array containing all of the elements in this list in proper sequence; the runtime type of the returned array is that of the specified array. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FastList()
public FastList(java.util.List<E> initialData)
| Method Detail |
|---|
public boolean add(E o)
add in interface java.util.Collection<E>add in interface java.util.List<E>
public void add(int index,
E element)
add in interface java.util.List<E>public boolean addAll(java.util.Collection<? extends E> c)
addAll in interface java.util.Collection<E>addAll in interface java.util.List<E>
public boolean addAll(int index,
java.util.Collection<? extends E> c)
addAll in interface java.util.List<E>public void clear()
clear in interface java.util.Collection<E>clear in interface java.util.List<E>public boolean contains(java.lang.Object o)
contains in interface java.util.Collection<E>contains in interface java.util.List<E>public boolean containsAll(java.util.Collection<?> c)
containsAll in interface java.util.Collection<E>containsAll in interface java.util.List<E>public boolean equals(java.lang.Object o)
equals in interface java.util.Collection<E>equals in interface java.util.List<E>equals in class java.lang.Objectpublic E get(int index)
get in interface java.util.List<E>public int hashCode()
hashCode in interface java.util.Collection<E>hashCode in interface java.util.List<E>hashCode in class java.lang.Objectpublic int indexOf(java.lang.Object o)
indexOf in interface java.util.List<E>public boolean isEmpty()
isEmpty in interface java.util.Collection<E>isEmpty in interface java.util.List<E>public 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 int lastIndexOf(java.lang.Object o)
lastIndexOf in interface java.util.List<E>public java.util.ListIterator<E> listIterator()
listIterator in interface java.util.List<E>public java.util.ListIterator<E> listIterator(int index)
listIterator in interface java.util.List<E>public E remove(int index)
remove in interface java.util.List<E>public boolean remove(java.lang.Object o)
remove in interface java.util.Collection<E>remove in interface java.util.List<E>public boolean removeAll(java.util.Collection<?> c)
removeAll in interface java.util.Collection<E>removeAll in interface java.util.List<E>public boolean retainAll(java.util.Collection<?> c)
retainAll in interface java.util.Collection<E>retainAll in interface java.util.List<E>
public E set(int index,
E element)
set in interface java.util.List<E>public int size()
size in interface java.util.Collection<E>size in interface java.util.List<E>
public java.util.List<E> subList(int fromIndex,
int toIndex)
subList in interface java.util.List<E>public java.lang.Object[] toArray()
toArray in interface java.util.Collection<E>toArray in interface java.util.List<E>public <T> T[] toArray(T[] a)
toArray in interface java.util.Collection<E>toArray in interface java.util.List<E>protected java.util.List<E> createList()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||