org.mmbase.bridge.util
Class AbstractBridgeList
java.lang.Object
java.util.AbstractCollection
java.util.AbstractList
org.mmbase.bridge.util.AbstractBridgeList
- All Implemented Interfaces:
- BridgeList, Collection, List
- Direct Known Subclasses:
- CollectionNodeList
- public abstract class AbstractBridgeList
- extends AbstractList
- implements BridgeList
As AbstractList, but implements some extra methods required by BridgeList
- Since:
- MMBase-1.8
- Version:
- $Id: AbstractBridgeList.java,v 1.1 2005/12/29 22:08:25 michiel Exp $
- Author:
- Michiel Meeuwissen
| Methods inherited from class java.util.AbstractList |
add, add, addAll, clear, equals, get, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList |
| Methods inherited from class java.util.AbstractCollection |
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, size, toArray, toArray, toString |
| Methods inherited from interface java.util.List |
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray |
AbstractBridgeList
public AbstractBridgeList()
getProperty
public Object getProperty(Object key)
- Description copied from interface:
BridgeList
- Retrieves a property previously set for this list.
Use this to store and retrieve metadata on whow teh listw as created
(such as what sort-order was specified)
- Specified by:
getProperty in interface BridgeList
- Parameters:
key - the key of the property
- Returns:
- the property value
setProperty
public void setProperty(Object key,
Object value)
- Description copied from interface:
BridgeList
- Sets a property for this list.
Use this to store and retrieve metadata on whow teh listw as created
(such as what sort-order was specified)
- Specified by:
setProperty in interface BridgeList
- Parameters:
key - the key of the propertyvalue - the property value
sort
public void sort()
- Description copied from interface:
BridgeList
- Sorts this list according to a default sort order.
- Specified by:
sort in interface BridgeList
sort
public void sort(Comparator comparator)
- Description copied from interface:
BridgeList
- Sorts this list according to a specified sort order
- Specified by:
sort in interface BridgeList
- Parameters:
comparator - the comparator defining the sort order
MMBase build 1.8.1.20060716