gnu.trove

Class TLinkableAdaptor

public class TLinkableAdaptor extends Object implements TLinkable

Adapter for TLinkable interface which implements the interface and can therefore be extended trivially to create TLinkable objects without having to implement the obvious.

Created: Thurs Nov 15 16:25:00 2001

Version: $Id: TLinkableAdaptor.java,v 1.1 2001/11/15 17:09:54 jasonbaldridge Exp $

Author: Jason Baldridge

See Also: TLinkedList

Field Summary
TLinkable_next
TLinkable_previous
Method Summary
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.

Field Detail

_next

TLinkable _next

_previous

TLinkable _previous

Method Detail

getNext

public TLinkable getNext()
Returns the linked list node after this one.

Returns: a TLinkable value

getPrevious

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

Returns: a TLinkable value

setNext

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

Parameters: linkable a TLinkable value

setPrevious

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

Parameters: linkable a TLinkable value