Package gnu.trove
Interface TLinkable
-
- All Superinterfaces:
java.io.Serializable
- All Known Implementing Classes:
TLinkableAdapter
public interface TLinkable extends java.io.SerializableInterface for Objects which can be inserted into a TLinkedList.Created: Sat Nov 10 15:23:41 2001
- Version:
- $Id: TLinkable.java,v 1.2 2001/12/03 00:16:25 ericdf Exp $
- Author:
- Eric D. Friedman
- See Also:
TLinkedList
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TLinkablegetNext()Returns the linked list node after this one.TLinkablegetPrevious()Returns the linked list node before this one.voidsetNext(TLinkable linkable)Sets the linked list node after this one.voidsetPrevious(TLinkable linkable)Sets the linked list node before this one.
-
-
-
Method Detail
-
getNext
TLinkable getNext()
Returns the linked list node after this one.- Returns:
- a
TLinkablevalue
-
getPrevious
TLinkable getPrevious()
Returns the linked list node before this one.- Returns:
- a
TLinkablevalue
-
setNext
void setNext(TLinkable linkable)
Sets the linked list node after this one.- Parameters:
linkable- aTLinkablevalue
-
setPrevious
void setPrevious(TLinkable linkable)
Sets the linked list node before this one.- Parameters:
linkable- aTLinkablevalue
-
-