com.virtuosotechnologies.lib.container
Class BasicModifiableObjectSet

java.lang.Object
  extended bycom.virtuosotechnologies.lib.container.PseudoModifiableObjectSet
      extended bycom.virtuosotechnologies.lib.container.BasicModifiableObjectSet
All Implemented Interfaces:
ModifiableObjectSet, ObjectContainer, ObjectSet

public class BasicModifiableObjectSet
extends PseudoModifiableObjectSet
implements ModifiableObjectSet

A basic implementation of ModifiableObjectSet.

This implementation is fully synchronized and thread-safe. However, note that it may be used in larger implementations that are not thread-safe.


Constructor Summary
BasicModifiableObjectSet()
          Constructor with no constraints.
BasicModifiableObjectSet(ConstrainedKey constraints)
          Constructor
 
Methods inherited from class com.virtuosotechnologies.lib.container.PseudoModifiableObjectSet
addObject, addObjectSetListener, contains, getConstraints, getContentsAsArray, getSize, removeObject, removeObjectSetListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.virtuosotechnologies.lib.container.ModifiableObjectSet
addObject, removeObject
 
Methods inherited from interface com.virtuosotechnologies.lib.container.ObjectSet
addObjectSetListener, contains, removeObjectSetListener
 
Methods inherited from interface com.virtuosotechnologies.lib.container.ObjectContainer
getConstraints, getContentsAsArray, getSize
 

Constructor Detail

BasicModifiableObjectSet

public BasicModifiableObjectSet()
Constructor with no constraints.


BasicModifiableObjectSet

public BasicModifiableObjectSet(ConstrainedKey constraints)
Constructor

Parameters:
constraints - constraints for the set, or null for no constraints.