org.openmdx.base.collection
Class MarshallingSet

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

public class MarshallingSet
extends MarshallingCollection
implements Set, Serializable

A marshalling set

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.openmdx.base.collection.MarshallingCollection
MarshallingCollection.MarshallingIterator
 
Field Summary
 
Fields inherited from class org.openmdx.base.collection.MarshallingCollection
collection, marshaller
 
Constructor Summary
MarshallingSet(CollectionMarshaller marshaller, Collection set)
          Be very carefull when using this constructor!
MarshallingSet(CollectionMarshaller marshaller, Set set)
          Standard constructor
MarshallingSet(Marshaller marshaller, Collection set)
          Be very carefull when using this constructor!
MarshallingSet(Marshaller marshaller, Set set)
          Standard constructor
 
Method Summary
 boolean add(Object element)
           
 boolean equals(Object object)
           
 
Methods inherited from class org.openmdx.base.collection.MarshallingCollection
clear, contains, isEmpty, iterator, remove, size
 
Methods inherited from class java.util.AbstractCollection
addAll, containsAll, removeAll, retainAll, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Set
addAll, clear, contains, containsAll, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
 

Constructor Detail

MarshallingSet

public MarshallingSet(CollectionMarshaller marshaller,
                      Set set)
Standard constructor

Parameters:
marshaller -
set -

MarshallingSet

public MarshallingSet(Marshaller marshaller,
                      Set set)
Standard constructor

Parameters:
marshaller -
set -

MarshallingSet

public MarshallingSet(CollectionMarshaller marshaller,
                      Collection set)
Be very carefull when using this constructor!

Parameters:
marshaller -
set - A collection behaving like a set

MarshallingSet

public MarshallingSet(Marshaller marshaller,
                      Collection set)
Be very carefull when using this constructor!

Parameters:
marshaller -
set - A collection behaving like a set
Method Detail

add

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

equals

public boolean equals(Object object)
Specified by:
equals in interface Collection
Specified by:
equals in interface Set
Overrides:
equals in class Object


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