E - @StoreNotUseStandardSerialization @StorableClass public abstract class AbstractLinkedListNodeSupport<E> extends Object implements ILinkedListSupportNode<E>, Serializable
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractLinkedListNodeSupport() |
protected |
AbstractLinkedListNodeSupport(IEqualsHashComparator comparator) |
protected |
AbstractLinkedListNodeSupport(Object element) |
protected |
AbstractLinkedListNodeSupport(Object element,
IEqualsHashComparator comparator) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
implementation of
Object.equals(Object), node equality is
equivalent to element it contains equality |
E |
getElement() |
int |
hashCode()
implementation of
Object.hashCode(), node hasj code is the
hashcode of element it contains |
void |
setElement(Object element)
set element referenced by this node
|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetNext, getPrevious, setNext, setPreviousprotected AbstractLinkedListNodeSupport(IEqualsHashComparator comparator)
protected AbstractLinkedListNodeSupport(Object element, IEqualsHashComparator comparator)
protected AbstractLinkedListNodeSupport(Object element)
protected AbstractLinkedListNodeSupport()
public E getElement()
getElement in interface ILinkedListSupportNode<E>public void setElement(Object element)
ILinkedListSupportNodesetElement in interface ILinkedListSupportNode<E>element - the element referenced by this nodepublic boolean equals(Object obj)
ILinkedListSupportNodeObject.equals(Object), node equality is
equivalent to element it contains equalityequals in interface ILinkedListSupportNode<E>equals in class Objectobj - the reference object with which to compare element.true if this node element is equals to the element
of the obj argument linked list node; false
otherwise.public int hashCode()
ILinkedListSupportNodeObject.hashCode(), node hasj code is the
hashcode of element it containshashCode in interface ILinkedListSupportNode<E>hashCode in class ObjectCopyright © 2007-2012 Luc Peuvrier. All Rights Reserved.