|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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()
ListableBaseUnsupportedOperationException.
getPrev in interface ListablegetPrev in class ListableBasepublic boolean hasPrev()
ListableBaseUnsupportedOperationException.
hasPrev in interface ListablehasPrev in class ListableBasepublic void setPrev(Listable prev)
ListableBaseUnsupportedOperationException.
setPrev in interface ListablesetPrev in class ListableBaseprev - my new preceeding sibling.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||