Uses of Interface
net.cscott.jutil.CollectionFactory
-
Uses of CollectionFactory in net.cscott.jutil
Subinterfaces of CollectionFactory in net.cscott.jutilModifier and TypeInterfaceDescriptioninterfaceListFactory<V>ListFactoryis aListgenerator.interfaceSetFactory<V>SetFactoryis aSetgenerator.Classes in net.cscott.jutil that implement CollectionFactoryModifier and TypeClassDescriptionclassAggregateSetFactoryuses a singleHashMapas backing store for the many smallerSets created by thisSetFactory.classBitSetFactoryis aSetFactorythat, given a complete universe of possible values, produces low space overhead representations ofSets.classAPersistentSetFactoryuses hash-consing to ensure that theSets created by it maximally reuse space.Methods in net.cscott.jutil that return CollectionFactoryModifier and TypeMethodDescriptionstatic <V> CollectionFactory<V> Factories.noNullCollectionFactory(CollectionFactory<V> cf) static <V> CollectionFactory<V> Factories.synchronizedCollectionFactory(CollectionFactory<V> cf) Returns aCollectionFactorythat generates synchronized (thread-safe)Collections.Methods in net.cscott.jutil with parameters of type CollectionFactoryModifier and TypeMethodDescriptionstatic <V> CollectionFactory<V> Factories.noNullCollectionFactory(CollectionFactory<V> cf) static <V> CollectionFactory<V> Factories.synchronizedCollectionFactory(CollectionFactory<V> cf) Returns aCollectionFactorythat generates synchronized (thread-safe)Collections.Constructors in net.cscott.jutil with parameters of type CollectionFactoryModifierConstructorDescriptionGenericInvertibleMultiMap(MapFactory<?, ?> mf, CollectionFactory<?> cf) Creates aMultiMapusing aHashMapfor the map and the specifiedCollectionFactoryto create the value collections.GenericMultiMap(MapFactory<K, Collection<V>> mf, CollectionFactory<V> cf) Creates aMultiMapusing the specifiedMapFactoryto create the map and the specifiedCollectionFactoryto create the value collections.GenericMultiMapFactory(MapFactory<K, Collection<V>> mf, CollectionFactory<V> cf) Create a newGenericMultiMapFactory, specifying theMapFactoryandCollectionFactoryto be used by the underlyingGenericMultiMap.