Package gnu.trove.list
Interface TLinkable<T extends TLinkable>
-
- All Superinterfaces:
java.io.Serializable
- All Known Implementing Classes:
TLinkableAdapter
public interface TLinkable<T extends TLinkable> extends java.io.SerializableInterface for Objects which can be inserted into a TLinkedList.- See Also:
TLinkedList
-
-
Field Summary
Fields Modifier and Type Field Description static longserialVersionUID
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TgetNext()Returns the linked list node after this one.TgetPrevious()Returns the linked list node before this one.voidsetNext(T linkable)Sets the linked list node after this one.voidsetPrevious(T linkable)Sets the linked list node before this one.
-
-
-
Field Detail
-
serialVersionUID
static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Method Detail
-
getNext
T getNext()
Returns the linked list node after this one.- Returns:
- a
TLinkablevalue
-
getPrevious
T getPrevious()
Returns the linked list node before this one.- Returns:
- a
TLinkablevalue
-
setNext
void setNext(T linkable)
Sets the linked list node after this one.- Parameters:
linkable- aTLinkablevalue
-
setPrevious
void setPrevious(T linkable)
Sets the linked list node before this one.- Parameters:
linkable- aTLinkablevalue
-
-