E - element class.public class DefaultLinkedListEntry<E> extends BasicLinkedListEntry<E,DefaultLinkedListEntry<E>>
| Constructor and Description |
|---|
DefaultLinkedListEntry(E element)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
E |
getElement()
Retrieves the element stored at this position in the list.
|
void |
setElement(E element)
Sets the stored element to the specified element.
|
getNext, getPrev, setNext, setPrevpublic DefaultLinkedListEntry(E element)
element - the element to be stored at this entry.public E getElement()
LinkedListEntrypublic void setElement(E element)
element - the new stored element.Copyright © 2015. All Rights Reserved.