org.apache.commons.cache.adt
Class WListableObject
java.lang.Object
org.apache.commons.cache.adt.ListableBase
org.apache.commons.cache.adt.WListableBase
org.apache.commons.cache.adt.WListableObject
- All Implemented Interfaces:
- Cloneable, Listable
public class WListableObject
- extends WListableBase
- implements Listable, Cloneable
A simple Listable supporting doubly-linked
lists of arbitrary Objects.
- Version:
- $Id: WListableObject.java 155435 2005-02-26 13:17:27Z dirkv $
- Author:
- Rodney Waldhoff
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_val
protected Object _val
- My value.
WListableObject
public WListableObject(Object val)
- Equivalent to
WListableObject(val,null,null).
WListableObject
public WListableObject(Object val,
Listable prev,
Listable next)
- Parameters:
val - my valuenext - the next Listable.
getValue
public Object getValue()
- Return the
Object I'm wrapping.
- Returns:
- the
Object I'm wrapping.
setValue
public void setValue(Object obj)
- Set the
Object I'm wrapping.
- Parameters:
the - Object to wrap.
Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.