@StoreNotUseStandardSerialization @StorableClass public class PLinkedList<E> extends AbstractLinkedList<E> implements ICollectionListenable<E>, Serializable
ILinkedList
replacement for
LinkedList
instanceFactory
Constructor and Description |
---|
PLinkedList() |
PLinkedList(Collection<? extends E> collection) |
PLinkedList(Collection<? extends E> collection,
IEqualsHashComparator comparator) |
PLinkedList(IEqualsHashComparator comparator) |
PLinkedList(IInstanceFactory instanceFactory) |
PLinkedList(IInstanceFactory instanceFactory,
Collection<? extends E> collection) |
PLinkedList(IInstanceFactory instanceFactory,
Collection<? extends E> collection,
IEqualsHashComparator comparator) |
PLinkedList(IInstanceFactory instanceFactory,
IEqualsHashComparator comparator) |
add, element, offer, offerFirst, offerLast, peek, peekFirst, peekLast, poll, pollFirst, pollLast, pop, push, remove, removeFirstOccurrence, removeLastOccurrence
addAll
indexOf, lastIndexOf, subList
addAll, containsAll, removeAll, retainAll, toArray, toArray, toString
public PLinkedList()
public PLinkedList(IInstanceFactory instanceFactory)
public PLinkedList(IEqualsHashComparator comparator)
public PLinkedList(IInstanceFactory instanceFactory, IEqualsHashComparator comparator)
public PLinkedList(Collection<? extends E> collection)
public PLinkedList(IInstanceFactory instanceFactory, Collection<? extends E> collection)
public PLinkedList(Collection<? extends E> collection, IEqualsHashComparator comparator)
public PLinkedList(IInstanceFactory instanceFactory, Collection<? extends E> collection, IEqualsHashComparator comparator)
public static PLinkedList newInstance(IInstanceFactory instanceFactory)
public static PLinkedList newInstance(IInstanceFactory instanceFactory, IEqualsHashComparator comparator)
public static PLinkedList newInstance(IInstanceFactory instanceFactory, Collection<?> collection)
public static PLinkedList 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 E removeFirst()
removeFirst
in interface Deque<E>
public E removeLast()
removeLast
in interface Deque<E>
public E remove(int index)
public boolean contains(Object object)
public int size()
public boolean isEmpty()
isEmpty
in interface Collection<E>
isEmpty
in interface List<E>
isEmpty
in class PAbstractCollection<E>
public boolean remove(Object object)
public void clear()
clear
in interface Collection<E>
clear
in interface List<E>
clear
in class PAbstractCollection<E>
public E get(int index)
public void add(int index, E element)
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 ListIterator<E> linkedListSupportIterator()
public Iterator<E> descendingIterator()
descendingIterator
in interface Deque<E>
public void setListenerMap(Map<Integer,ICollectionListener<E>> listenerMap)
public LinkedListSupport<E> getLinkedListSupport()
public boolean equals(Object object)
Copyright © 2007-2012 Luc Peuvrier. All Rights Reserved.