Package org.apache.ojb.broker.util.collections

This package contains utility classes that implement the ManageableCollection interface.

See:
          Description

Interface Summary
IRemovalAwareCollection MarkerInterface for RemovableAwareCollections
 

Class Summary
ManageableArrayList is a utility class. provides an ArrayList that addionally implements the ManageableCollection interface.
ManageableHashMap Creates a Map where the primary key is the map key, and the object is the map value.
ManageableHashSet is a utility class. provides a HashSet that addionally implements the ManageableCollection interface.
ManageableVector is a utility class. provides a Vector that addionally implements the ManageableCollection interface.
RemovalAwareCollection This is a collection that tracks removal and addition of elements.
RemovalAwareList This is a list that tracks removal and addition of elements.
RemovalAwareSet This is a set implementation that tracks removal and addition of elements.
 

Package org.apache.ojb.broker.util.collections Description

This package contains utility classes that implement the ManageableCollection interface. Implementing this interface allows to use these classes as collection attributes in persistent classes.

The class ManageableVector extends Vector and implements ManageableCollections.

The class ManageableArrayList extends ArrayList and implements ManageableCollections.

The class ManageableHashSet extends HashSet and implements ManageableCollections.

Patterns applied: Adapter, Callback interface ("don't call us, we call you")

Todo: Provide more such implementations.



(C) 2002 - 2006 Apache Software Foundation
All rights reserved. Published under the Apache License 2.0.
http://db.apache.org/ojb
Version: 1.0.4, 2005-12-30