|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.commons.cache.adt.ListableBase org.apache.commons.cache.adt.WListableBase
public class WListableBase
An base implementation of Listable
, supporting
doubly-linked lists.
Field Summary | |
---|---|
protected Listable |
_prev
My preceeding sibling. |
Fields inherited from class org.apache.commons.cache.adt.ListableBase |
---|
_next |
Constructor Summary | |
---|---|
WListableBase()
No arg constructor. |
|
WListableBase(Listable prev,
Listable next)
Constructor. |
Method Summary | |
---|---|
Listable |
getPrev()
Throws UnsupportedOperationException . |
boolean |
hasPrev()
Throws UnsupportedOperationException . |
void |
setPrev(Listable prev)
Throws UnsupportedOperationException . |
Methods inherited from class org.apache.commons.cache.adt.ListableBase |
---|
getNext, hasNext, setNext |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.commons.cache.adt.Listable |
---|
getNext, hasNext, setNext |
Field Detail |
---|
protected transient Listable _prev
Constructor Detail |
---|
public WListableBase()
WListableBase(null,null)
.
public WListableBase(Listable prev, Listable next)
prev
- the prev element in the list.next
- the next element in the list.Method Detail |
---|
public Listable getPrev()
ListableBase
UnsupportedOperationException
.
getPrev
in interface Listable
getPrev
in class ListableBase
public boolean hasPrev()
ListableBase
UnsupportedOperationException
.
hasPrev
in interface Listable
hasPrev
in class ListableBase
public void setPrev(Listable prev)
ListableBase
UnsupportedOperationException
.
setPrev
in interface Listable
setPrev
in class ListableBase
prev
- my new preceeding sibling.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |