E - @StoreNotUseStandardSerialization @StorableClass public class HashSupportNodeSet<E> extends HashSupportNodeEntry<E> implements ILinkedListSupportNodeManager<E>, Cloneable, Serializable
LinkedHashSupportNode) are shared with the
list of all nodes of setcomparator, instanceFactory| Modifier | Constructor and Description |
|---|---|
protected |
HashSupportNodeSet(IInstanceFactory instanceFactory,
int hashcode,
IEqualsHashComparator comparator) |
protected |
HashSupportNodeSet(int hashcode,
IEqualsHashComparator comparator) |
compareTo, equals, hashCode, newInstance, setHascodeprotected HashSupportNodeSet(int hashcode,
IEqualsHashComparator comparator)
protected HashSupportNodeSet(IInstanceFactory instanceFactory, int hashcode, IEqualsHashComparator comparator)
public static HashSupportNodeSet newInstance(IInstanceFactory instanceFactory, int hashcode, IEqualsHashComparator comparator)
public void removeListener()
public void setListener(ISupportListener<E> listener)
public IEqualsHashComparator getEqualsHashComparator()
getEqualsHashComparator in interface ILinkedListSupportNodeManager<E>public void setListManager(LinkedListSupportManager<E> listManager)
public LinkedListSupportManager<E> getListManager()
public boolean contains(Object object)
object - the object to searchpublic E get(Object object)
object - the object to getpublic ILinkedListSupportNode<E> getNode(Object object)
public PreviousElementAndSetNode<E> addReplace(E element)
element - the element to add or for replacementpublic ILinkedListSupportNode<E> remove(Object object)
object - the object to removepublic boolean isEmpty()
public void clear()
public int getSize()
getSize in interface ILinkedListSupportNodeManager<E>public void incrementSize()
incrementSize in interface ILinkedListSupportNodeManager<E>public void decrementSize()
decrementSize in interface ILinkedListSupportNodeManager<E>public void resetSize()
resetSize in interface ILinkedListSupportNodeManager<E>public ILinkedListSupportNode<E> getLastNode()
ILinkedListSupportNodeManagerLinkedListSupportIteratorgetLastNode in interface ILinkedListSupportNodeManager<E>public ILinkedListSupportNode<E> getFirstNode()
getFirstNode in interface ILinkedListSupportNodeManager<E>public ILinkedListSupportNode<E> getRoot()
ILinkedListSupportNodeManagerLinkedListSupportIterator and
ILinkedListSupportNodeManager implementationgetRoot in interface ILinkedListSupportNodeManager<E>public void setLastNode(ILinkedListSupportNode<E> lastNode)
setLastNode in interface ILinkedListSupportNodeManager<E>public void setRoot(ILinkedListSupportNode<E> rootNode)
setRoot in interface ILinkedListSupportNodeManager<E>public ILinkedListSupportNode<E> newLinkedListNode()
newLinkedListNode in interface ILinkedListSupportNodeManager<E>protected HashSupportNodeSet<E> clone()
Copyright © 2007-2012 Luc Peuvrier. All Rights Reserved.