Package gnu.trove.list
Interface TLinkable<T extends TLinkable>
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
TLinkableAdapter
Interface for Objects which can be inserted into a TLinkedList.
- See Also:
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiongetNext()
Returns the linked list node after this one.Returns the linked list node before this one.void
Sets the linked list node after this one.void
setPrevious
(T linkable) Sets the linked list node before this one.
-
Field Details
-
serialVersionUID
static final long serialVersionUID- See Also:
-
-
Method Details
-
getNext
T getNext()Returns the linked list node after this one.- Returns:
- a
TLinkable
value
-
getPrevious
T getPrevious()Returns the linked list node before this one.- Returns:
- a
TLinkable
value
-
setNext
Sets the linked list node after this one.- Parameters:
linkable
- aTLinkable
value
-
setPrevious
Sets the linked list node before this one.- Parameters:
linkable
- aTLinkable
value
-