org.mmbase.bridge
Interface BridgeList

All Superinterfaces:
Collection, List
All Known Subinterfaces:
FieldList, ModuleList, NodeList, NodeManagerList, RelationList, RelationManagerList, StringList
All Known Implementing Classes:
AbstractBridgeList, AbstractSequentialBridgeList, BasicFieldList, BasicList, BasicModuleList, BasicNodeList, BasicNodeManagerList, BasicRelationList, BasicRelationManagerList, BasicStringList, CollectionNodeList, CollectionRelationList, TreeList

public interface BridgeList
extends List

A list of nodes

Since:
MMBase-1.6
Version:
$Id: BridgeList.java,v 1.4 2004/06/08 08:45:16 michiel Exp $
Author:
Pierre van Rooden

Method Summary
 Object getProperty(Object key)
          Retrieves a property previously set for this list.
 void setProperty(Object key, Object value)
          Sets a property for this list.
 void sort()
          Sorts this list according to a default sort order.
 void sort(Comparator comparator)
          Sorts this list according to a specified sort order
 
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
 

Method Detail

getProperty

public Object getProperty(Object key)
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)

Parameters:
key - the key of the property
Returns:
the property value

setProperty

public void setProperty(Object key,
                        Object value)
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)

Parameters:
key - the key of the property
value - the property value

sort

public void sort()
Sorts this list according to a default sort order.


sort

public void sort(Comparator comparator)
Sorts this list according to a specified sort order

Parameters:
comparator - the comparator defining the sort order


MMBase build 1.8.1.20060716