org.apache.commons.cache.adt
Class ListableObject
java.lang.Object
org.apache.commons.cache.adt.ListableBase
org.apache.commons.cache.adt.ListableObject
- All Implemented Interfaces:
- Cloneable, Listable
public class ListableObject
- extends ListableBase
- implements Listable, Cloneable
A simple Listable
supporting singly-linked
lists of arbitrary Object
s.
- Version:
- $Id: ListableObject.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.
ListableObject
public ListableObject(Object val)
- Equivalent to
ListableObject(val,null)
.
ListableObject
public ListableObject(Object val,
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.