|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgnu.trove.TLinkableAdaptor
public class TLinkableAdaptor
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
TLinkedList
,
Serialized FormField Summary | |
---|---|
(package private) TLinkable |
_next
|
(package private) TLinkable |
_previous
|
Constructor Summary | |
---|---|
TLinkableAdaptor()
|
Method Summary | |
---|---|
TLinkable |
getNext()
Returns the linked list node after this one. |
TLinkable |
getPrevious()
Returns the linked list node before this one. |
void |
setNext(TLinkable linkable)
Sets the linked list node after this one. |
void |
setPrevious(TLinkable linkable)
Sets the linked list node before this one. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
TLinkable _previous
TLinkable _next
Constructor Detail |
---|
public TLinkableAdaptor()
Method Detail |
---|
public TLinkable getNext()
getNext
in interface TLinkable
TLinkable
valuepublic TLinkable getPrevious()
getPrevious
in interface TLinkable
TLinkable
valuepublic void setNext(TLinkable linkable)
setNext
in interface TLinkable
linkable
- a TLinkable
valuepublic void setPrevious(TLinkable linkable)
setPrevious
in interface TLinkable
linkable
- a TLinkable
value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |