E
- node element typepublic interface ILinkedListSupportNode<E>
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() |
ILinkedListSupportNode<E> |
getNext() |
ILinkedListSupportNode<E> |
getPrevious() |
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
|
void |
setNext(ILinkedListSupportNode<E> next)
set next node of this node
|
void |
setPrevious(ILinkedListSupportNode<E> previous)
set the previous node of this node
|
E getElement()
void setElement(Object element)
element
- the element referenced by this nodeILinkedListSupportNode<E> getNext()
void setNext(ILinkedListSupportNode<E> next)
next
- the next node of this nodeILinkedListSupportNode<E> getPrevious()
void setPrevious(ILinkedListSupportNode<E> previous)
previous
- the new previous node of this nodeboolean equals(Object obj)
Object.equals(Object)
, node equality is
equivalent to element it contains equalityint hashCode()
Object.hashCode()
, node hasj code is the
hashcode of element it containsCopyright © 2007-2012 Luc Peuvrier. All Rights Reserved.