Uses of Interface
net.cscott.jutil.SetFactory
-
Uses of SetFactory in net.cscott.jutil
Classes in net.cscott.jutil that implement SetFactoryModifier 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.Fields in net.cscott.jutil declared as SetFactoryModifier and TypeFieldDescriptionstatic final SetFactoryFactories.hashSetFactoryDeprecated.static final SetFactoryFactories.linearSetFactoryDeprecated.UseFactories.linearSetFactory(), which is parameterized.static final SetFactoryFactories.linkedHashSetFactoryDeprecated.UseFactories.linkedHashSetFactory(), which is parameterized.static final SetFactoryFactories.treeSetFactoryDeprecated.UseFactories.treeSetFactory(), which is parameterized.static final SetFactoryFactories.workSetFactoryDeprecated.Methods in net.cscott.jutil that return SetFactoryModifier and TypeMethodDescriptionstatic final <V extends Enum<V>>
SetFactory<V> Factories.enumSetFactory(Class<V> enumClass) ASetFactorythat generatesEnumSets.static final <V> SetFactory<V> Factories.hashSetFactory()static final <V> SetFactory<V> Factories.linearSetFactory()static final <V> SetFactory<V> Factories.linkedHashSetFactory()Returns aSetFactorythat generatesLinkedHashSets.static <K,V> SetFactory <Map.Entry<K, V>> Factories.mapSetFactory(MapFactory<K, V> mf) static <K,V> SetFactory <Map.Entry<K, V>> Factories.multiMapSetFactory(MultiMapFactory<K, V> mf) Returns aSetFactorythat generatesMultiMapSetviews ofMultiMaps generated by the givenMultiMapFactory.static <V> SetFactory<V> Factories.synchronizedSetFactory(SetFactory<V> sf) Returns aSetFactorythat generates synchronized (thread-safe)Sets.static final <V extends Comparable<V>>
SetFactory<V> Factories.treeSetFactory()Returns aSetFactorythat generatesTreeSets, in the elements' natural order.static final <V> SetFactory<V> Factories.treeSetFactory(Comparator<? super V> comp) static final <V> SetFactory<V> Factories.workSetFactory()Deprecated.Methods in net.cscott.jutil with parameters of type SetFactoryModifier and TypeMethodDescriptionstatic <V> SetFactory<V> Factories.synchronizedSetFactory(SetFactory<V> sf) Returns aSetFactorythat generates synchronized (thread-safe)Sets.
Factories.hashSetFactory(), which is parameterized.