E
- @StoreNotUseStandardSerialization @StorableClass public class PArrayList<E> extends AbstractLinkedList<E> implements RandomAccess, Cloneable, Serializable
instanceFactory
Modifier | Constructor and Description |
---|---|
|
PArrayList() |
|
PArrayList(Collection<? extends E> collection) |
|
PArrayList(Collection<? extends E> collection,
IEqualsHashComparator comparator) |
|
PArrayList(IEqualsHashComparator comparator) |
protected |
PArrayList(IInstanceFactory instanceFactory) |
protected |
PArrayList(IInstanceFactory instanceFactory,
Collection<? extends E> collection) |
protected |
PArrayList(IInstanceFactory instanceFactory,
Collection<? extends E> collection,
IEqualsHashComparator comparator) |
protected |
PArrayList(IInstanceFactory instanceFactory,
IEqualsHashComparator comparator) |
protected |
PArrayList(IInstanceFactory instanceFactory,
int initialCapacity) |
protected |
PArrayList(IInstanceFactory instanceFactory,
int initialCapacity,
IEqualsHashComparator comparator) |
|
PArrayList(int initialCapacity) |
|
PArrayList(int initialCapacity,
IEqualsHashComparator comparator) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(E element) |
void |
add(int index,
E element) |
boolean |
addAll(Collection<? extends E> collection) |
boolean |
addAll(int index,
Collection<? extends E> collection) |
void |
addFirst(E element) |
void |
addLast(E element) |
void |
addListerner(ICollectionListener<E> listener) |
ArrayListSupportIterator<E> |
arrayListSupportIterator() |
void |
clear() |
protected PArrayList<E> |
clone() |
boolean |
contains(Object object) |
Iterator<E> |
descendingIterator() |
void |
ensureCapacity(int minCapacity) |
boolean |
equals(Object object) |
E |
get(int index) |
E |
getFirst() |
E |
getLast() |
int |
hashCode() |
int |
indexOf(Object object) |
Iterator<E> |
iterator() |
int |
lastIndexOf(Object object) |
ListIterator<E> |
listIterator() |
ListIterator<E> |
listIterator(int index) |
static PArrayList |
newInstance(IInstanceFactory instanceFactory) |
static PArrayList |
newInstance(IInstanceFactory instanceFactory,
Collection collection) |
static PArrayList |
newInstance(IInstanceFactory instanceFactory,
Collection collection,
IEqualsHashComparator comparator) |
static PArrayList |
newInstance(IInstanceFactory instanceFactory,
IEqualsHashComparator comparator) |
static PArrayList |
newInstance(IInstanceFactory instanceFactory,
int initialCapacity) |
static PArrayList |
newInstance(IInstanceFactory instanceFactory,
int initialCapacity,
IEqualsHashComparator comparator) |
void |
notifyAdded(E added) |
void |
notifyRemoved(E removed) |
E |
remove(int index) |
boolean |
remove(Object object) |
E |
removeFirst() |
E |
removeLast() |
void |
removeListener(int listenerIdentifier) |
E |
set(int index,
E element) |
void |
setArrayListSupport(ArrayListSupport<E> arrayListSupport) |
int |
size() |
Object[] |
toArray() |
<T> T[] |
toArray(T[] elements) |
String |
toString() |
void |
trimToSize() |
element, offer, offerFirst, offerLast, peek, peekFirst, peekLast, poll, pollFirst, pollLast, pop, push, remove, removeFirstOccurrence, removeLastOccurrence
subList
containsAll, isEmpty, removeAll, retainAll
public PArrayList()
protected PArrayList(IInstanceFactory instanceFactory)
public PArrayList(IEqualsHashComparator comparator)
protected PArrayList(IInstanceFactory instanceFactory, IEqualsHashComparator comparator)
public PArrayList(int initialCapacity)
protected PArrayList(IInstanceFactory instanceFactory, int initialCapacity)
public PArrayList(int initialCapacity, IEqualsHashComparator comparator)
protected PArrayList(IInstanceFactory instanceFactory, int initialCapacity, IEqualsHashComparator comparator)
public PArrayList(Collection<? extends E> collection)
protected PArrayList(IInstanceFactory instanceFactory, Collection<? extends E> collection)
public PArrayList(Collection<? extends E> collection, IEqualsHashComparator comparator)
protected PArrayList(IInstanceFactory instanceFactory, Collection<? extends E> collection, IEqualsHashComparator comparator)
public static PArrayList newInstance(IInstanceFactory instanceFactory)
public static PArrayList newInstance(IInstanceFactory instanceFactory, IEqualsHashComparator comparator)
public static PArrayList newInstance(IInstanceFactory instanceFactory, int initialCapacity)
public static PArrayList newInstance(IInstanceFactory instanceFactory, int initialCapacity, IEqualsHashComparator comparator)
public static PArrayList newInstance(IInstanceFactory instanceFactory, Collection collection)
public static PArrayList newInstance(IInstanceFactory instanceFactory, Collection collection, IEqualsHashComparator comparator)
public void addListerner(ICollectionListener<E> listener)
addListerner
in interface ICollectionListenable<E>
public void removeListener(int listenerIdentifier)
removeListener
in interface ICollectionListenable<E>
public void notifyAdded(E added)
notifyAdded
in interface ISupportListener<E>
public void notifyRemoved(E removed)
notifyRemoved
in interface ISupportListener<E>
public void trimToSize()
public void ensureCapacity(int minCapacity)
public int size()
public boolean contains(Object object)
public int indexOf(Object object)
public int lastIndexOf(Object object)
lastIndexOf
in interface List<E>
lastIndexOf
in class PAbstractList<E>
protected PArrayList<E> clone()
public void setArrayListSupport(ArrayListSupport<E> arrayListSupport)
public Object[] toArray()
toArray
in interface Collection<E>
toArray
in interface List<E>
toArray
in class PAbstractCollection<E>
public <T> T[] toArray(T[] elements)
toArray
in interface Collection<E>
toArray
in interface List<E>
toArray
in class PAbstractCollection<E>
public E get(int index)
public void add(int index, E element)
public E remove(int index)
public boolean remove(Object object)
public void clear()
clear
in interface Collection<E>
clear
in interface List<E>
clear
in class PAbstractCollection<E>
public boolean addAll(Collection<? extends E> collection)
addAll
in interface Collection<E>
addAll
in interface List<E>
addAll
in class PAbstractCollection<E>
public boolean addAll(int index, Collection<? extends E> collection)
public ArrayListSupportIterator<E> arrayListSupportIterator()
public boolean add(E element)
public E removeFirst()
removeFirst
in interface Deque<E>
public E removeLast()
removeLast
in interface Deque<E>
public ListIterator<E> listIterator()
listIterator
in interface List<E>
listIterator
in class PAbstractList<E>
public ListIterator<E> listIterator(int index)
listIterator
in interface List<E>
listIterator
in class PAbstractList<E>
public Iterator<E> descendingIterator()
descendingIterator
in interface Deque<E>
public boolean equals(Object object)
public int hashCode()
public String toString()
toString
in class PAbstractCollection<E>
Copyright © 2007-2012 Luc Peuvrier. All Rights Reserved.