org.openmdx.base.collection
Class MarshallingCollection

java.lang.Object
  extended by java.util.AbstractCollection
      extended by org.openmdx.base.collection.MarshallingCollection
All Implemented Interfaces:
Serializable, Iterable, Collection
Direct Known Subclasses:
MarshallingSet

public class MarshallingCollection
extends AbstractCollection
implements Serializable

Marshalling Collection

See Also:
Serialized Form

Nested Class Summary
protected  class MarshallingCollection.MarshallingIterator
          Marshalling Iterator
 
Field Summary
protected  Collection collection
           
protected  CollectionMarshaller marshaller
           
 
Constructor Summary
MarshallingCollection(CollectionMarshaller marshaller, Collection collection)
          Constructor
MarshallingCollection(Marshaller marshaller, Collection collection)
          Constructor
 
Method Summary
 boolean add(Object element)
           
 void clear()
           
 boolean contains(Object element)
           
 boolean isEmpty()
           
 Iterator iterator()
           
 boolean remove(Object element)
           
 int size()
           
 
Methods inherited from class java.util.AbstractCollection
addAll, containsAll, removeAll, retainAll, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Collection
equals, hashCode
 

Field Detail

collection

protected Collection collection

marshaller

protected CollectionMarshaller marshaller
Constructor Detail

MarshallingCollection

public MarshallingCollection(CollectionMarshaller marshaller,
                             Collection collection)
Constructor

Parameters:
marshaller -
collection -

MarshallingCollection

public MarshallingCollection(Marshaller marshaller,
                             Collection collection)
Constructor

Parameters:
marshaller -
collection -
Method Detail

clear

public void clear()
Specified by:
clear in interface Collection
Overrides:
clear in class AbstractCollection

add

public boolean add(Object element)
Specified by:
add in interface Collection
Overrides:
add in class AbstractCollection

contains

public boolean contains(Object element)
Specified by:
contains in interface Collection
Overrides:
contains in class AbstractCollection

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface Collection
Overrides:
isEmpty in class AbstractCollection

iterator

public Iterator iterator()
Specified by:
iterator in interface Iterable
Specified by:
iterator in interface Collection
Specified by:
iterator in class AbstractCollection

remove

public boolean remove(Object element)
Specified by:
remove in interface Collection
Overrides:
remove in class AbstractCollection

size

public int size()
Specified by:
size in interface Collection
Specified by:
size in class AbstractCollection


This software is published under the BSD license. Copyright © 2003-2007, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.