org.mmbase.bridge.remote.proxy
Class RemoteBridgeList_Proxy<L extends Comparable<? super L>,E>

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<L>
          extended by org.mmbase.bridge.remote.proxy.RemoteList_Proxy<L,E>
              extended by org.mmbase.bridge.remote.proxy.RemoteBridgeList_Proxy<L,E>
All Implemented Interfaces:
Iterable<L>, Collection<L>, List<L>, BridgeList<L>, MappedObject

public class RemoteBridgeList_Proxy<L extends Comparable<? super L>,E>
extends RemoteList_Proxy<L,E>
implements BridgeList<L>, MappedObject

Javadoc:

Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
RemoteBridgeList_Proxy(RemoteBridgeList<E> remoteObject)
           
 
Method Summary
 Map<Object,Object> getProperties()
          Returns an (unmodifiable) view on all properties of this list (See BridgeList.getProperty(java.lang.Object)).
 Object getProperty(Object arg0)
          Retrieves a property previously set for this list.
 RemoteBridgeList<E> getWrappedObject()
           
 void setProperty(Object arg0, Object arg1)
          Sets a property for this list.
 void sort()
          Sorts this list according to a default sort order.
 void sort(Comparator<? super L> arg0)
          Sorts this list according to a specified sort order
 BridgeList<L> subList(int arg0, int arg1)
           
 
Methods inherited from class org.mmbase.bridge.remote.proxy.RemoteList_Proxy
add, add, clear, equals, get, getMapperCode, hashCode, remove, remove, set, size, toString
 
Methods inherited from class java.util.AbstractList
addAll, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange
 
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, removeAll, retainAll, toArray, toArray
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
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, toArray, toArray
 
Methods inherited from interface org.mmbase.bridge.remote.MappedObject
getMapperCode
 

Constructor Detail

RemoteBridgeList_Proxy

public RemoteBridgeList_Proxy(RemoteBridgeList<E> remoteObject)
Method Detail

setProperty

public void setProperty(Object arg0,
                        Object arg1)
Description copied from interface: BridgeList
Sets a property for this list. Use this to store and retrieve meta data on how the list was created (such as what sort-order was specified)

Specified by:
setProperty in interface BridgeList<L extends Comparable<? super L>>
Parameters:
arg0 - the key of the property
arg1 - the property value

getProperty

public Object getProperty(Object arg0)
Description copied from interface: BridgeList
Retrieves a property previously set for this list. Use this to store and retrieve meta data on how the list was created (such as what sort-order was specified)

Specified by:
getProperty in interface BridgeList<L extends Comparable<? super L>>
Parameters:
arg0 - the key of the property
Returns:
the property value

getProperties

public Map<Object,Object> getProperties()
Description copied from interface: BridgeList
Returns an (unmodifiable) view on all properties of this list (See BridgeList.getProperty(java.lang.Object)).

Specified by:
getProperties in interface BridgeList<L extends Comparable<? super L>>

subList

public BridgeList<L> subList(int arg0,
                             int arg1)
Specified by:
subList in interface List<L extends Comparable<? super L>>
Specified by:
subList in interface BridgeList<L extends Comparable<? super L>>
Overrides:
subList in class AbstractList<L extends Comparable<? super L>>

sort

public void sort(Comparator<? super L> arg0)
Description copied from interface: BridgeList
Sorts this list according to a specified sort order

Specified by:
sort in interface BridgeList<L extends Comparable<? super L>>
Parameters:
arg0 - the comparator defining the sort order

sort

public void sort()
Description copied from interface: BridgeList
Sorts this list according to a default sort order.

Specified by:
sort in interface BridgeList<L extends Comparable<? super L>>

getWrappedObject

public RemoteBridgeList<E> getWrappedObject()
Specified by:
getWrappedObject in interface MappedObject
Overrides:
getWrappedObject in class RemoteList_Proxy<L extends Comparable<? super L>,E>


MMBase 2.0-SNAPSHOT - null