Class AggregateSetFactory<V>

java.lang.Object
net.cscott.jutil.AggregateSetFactory<V>
All Implemented Interfaces:
Serializable, CollectionFactory<V>, SetFactory<V>

public class AggregateSetFactory<V> extends Object implements SetFactory<V>, Serializable
AggregateSetFactory uses a single HashMap as backing store for the many smaller Sets created by this SetFactory. This means that we use much less space and rehash less frequently than if we were using the standard Factories.hashSetFactory().
Author:
C. Scott Ananian <cananian@alumni.princeton.edu>
See Also:
  • Constructor Details

  • Method Details