E - tree linked list element type@StoreNotUseStandardSerialization @StorableClass public class PTreeList<E> extends AbstractLinkedList<E> implements ILinkedList<E>, Serializable
ILinkedList replacement for
LinkedListinstanceFactory| Modifier | Constructor and Description |
|---|---|
|
PTreeList() |
|
PTreeList(boolean concurrentAccess) |
|
PTreeList(IEqualsHashComparator comparator) |
|
PTreeList(IEqualsHashComparator comparator,
boolean concurrentAccess) |
protected |
PTreeList(IInstanceFactory instanceFactory) |
|
PTreeList(IInstanceFactory instanceFactory,
boolean concurrentAccess) |
protected |
PTreeList(IInstanceFactory instanceFactory,
IEqualsHashComparator comparator) |
|
PTreeList(IInstanceFactory instanceFactory,
IEqualsHashComparator comparator,
boolean concurrentAccess) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(int index,
E element) |
void |
addFirst(E element) |
void |
addLast(E element) |
void |
addListerner(ICollectionListener<E> listener) |
void |
clear() |
PTreeList<E> |
clone() |
boolean |
contains(Object object) |
Iterator<E> |
descendingIterator() |
boolean |
equals(Object object) |
E |
get(int index) |
E |
getFirst() |
E |
getLast() |
TreeListSupport<E> |
getTree() |
int |
hashCode() |
boolean |
isEmpty() |
Iterator<E> |
iterator() |
ListIterator<E> |
listIterator() |
ListIterator<E> |
listIterator(int index) |
static PTreeList |
newInstance(IInstanceFactory instanceFactory) |
static PTreeList |
newInstance(IInstanceFactory instanceFactory,
boolean concurrentAccess) |
static PTreeList |
newInstance(IInstanceFactory instanceFactory,
IEqualsHashComparator comparator) |
static PTreeList |
newInstance(IInstanceFactory instanceFactory,
IEqualsHashComparator comparator,
boolean concurrentAccess) |
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 |
setTree(TreeListSupport<E> tree) |
int |
size() |
add, element, offer, offerFirst, offerLast, peek, peekFirst, peekLast, poll, pollFirst, pollLast, pop, push, remove, removeFirstOccurrence, removeLastOccurrenceaddAllindexOf, lastIndexOf, subListaddAll, containsAll, removeAll, retainAll, toArray, toArray, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitpublic PTreeList()
protected PTreeList(IInstanceFactory instanceFactory)
public PTreeList(IEqualsHashComparator comparator)
protected PTreeList(IInstanceFactory instanceFactory, IEqualsHashComparator comparator)
public PTreeList(boolean concurrentAccess)
public PTreeList(IInstanceFactory instanceFactory, boolean concurrentAccess)
public PTreeList(IEqualsHashComparator comparator, boolean concurrentAccess)
public PTreeList(IInstanceFactory instanceFactory, IEqualsHashComparator comparator, boolean concurrentAccess)
public static PTreeList newInstance(IInstanceFactory instanceFactory)
public static PTreeList newInstance(IInstanceFactory instanceFactory, IEqualsHashComparator comparator)
public static PTreeList newInstance(IInstanceFactory instanceFactory, boolean concurrentAccess)
public static PTreeList newInstance(IInstanceFactory instanceFactory, IEqualsHashComparator comparator, boolean concurrentAccess)
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 add(int index,
E element)
public E get(int index)
public ListIterator<E> listIterator(int index)
listIterator in interface List<E>listIterator in class PAbstractList<E>public ListIterator<E> listIterator()
listIterator in interface List<E>listIterator in class PAbstractList<E>public Iterator<E> descendingIterator()
descendingIterator in interface Deque<E>public E remove(int index)
public void clear()
clear in interface Collection<E>clear in interface List<E>clear in class PAbstractCollection<E>public boolean isEmpty()
isEmpty in interface Collection<E>isEmpty in interface List<E>isEmpty in class PAbstractCollection<E>public int size()
public E removeFirst()
removeFirst in interface Deque<E>public E removeLast()
removeLast in interface Deque<E>public boolean contains(Object object)
public boolean remove(Object object)
public void setTree(TreeListSupport<E> tree)
public TreeListSupport<E> getTree()
public boolean equals(Object object)
Copyright © 2007-2012 Luc Peuvrier. All Rights Reserved.