GNU Trove

gnu.trove.list
Interface TLinkable<T extends TLinkable>

All Superinterfaces:
java.io.Serializable

public interface TLinkable<T extends TLinkable>
extends java.io.Serializable

Interface for Objects which can be inserted into a TLinkedList.

See Also:
TLinkedList

Field Summary
static long serialVersionUID
           
 
Method Summary
 T getNext()
          Returns the linked list node after this one.
 T getPrevious()
          Returns the linked list node before this one.
 void setNext(T linkable)
          Sets the linked list node after this one.
 void setPrevious(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 TLinkable value

getPrevious

T getPrevious()
Returns the linked list node before this one.

Returns:
a TLinkable value

setNext

void setNext(T linkable)
Sets the linked list node after this one.

Parameters:
linkable - a TLinkable value

setPrevious

void setPrevious(T linkable)
Sets the linked list node before this one.

Parameters:
linkable - a TLinkable value

GNU Trove