gnu.trove.list
public abstract class TLinkableAdapter<T extends TLinkable> extends java.lang.Object implements TLinkable<T>
TLinkable
, so you don't have to. Example:
private class MyObject extends TLinkableAdapter{ private final String value; MyObject( String value ) { this.value = value; } public String getValue() { return value; } }
serialVersionUID
Constructor and Description |
---|
TLinkableAdapter() |
Modifier and Type | Method and Description |
---|---|
T |
getNext()
Returns the linked list node after this one.
|
T |
getPrevious()
Returns the linked list node before this one.
|
void |
setNext(T next)
Sets the linked list node after this one.
|
void |
setPrevious(T prev)
Sets the linked list node before this one.
|
public T getNext()
TLinkable
public void setNext(T next)
TLinkable
public T getPrevious()
TLinkable
getPrevious
in interface TLinkable<T extends TLinkable>
TLinkable
value