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, setPrev
public DefaultLinkedListEntry(E element)
element
- the element to be stored at this entry.public E getElement()
LinkedListEntry
public void setElement(E element)
element
- the new stored element.Copyright © 2015. All Rights Reserved.