Uses of Interface
org.javimmutable.collections.ISet
Packages that use ISet
Package
Description
-
Uses of ISet in org.javimmutable.collections
Subinterfaces of ISet in org.javimmutable.collectionsModifier and TypeInterfaceDescriptioninterfaceIMultiset<T>Keeps a set of distinct values, as well as the count corresponding to each value.Methods in org.javimmutable.collections that return ISetModifier and TypeMethodDescriptionISetBuilder.build()Builds and returns a collection containing all of the added values.Removes the value from the Set.ISet.deleteAll()Removes all values of other from the Set.Removes all values of other from the Set.Return the set associated with key, or an empty set if no list is associated.static <T> ISet<T> ISets.hashed()Constructs an unsorted set.static <T> ISet<T> Constructs an unsorted set containing the values from source.static <T> ISet<T> Constructs an unsorted set containing the values from source.static <T> ISet<T> ISets.hashed(T... source) Constructs an unsorted set containing the values from source.Adds the single value to the Set.Adds all of the elements of the specified collection to the set.Adds all of the elements of the specified collection to the set.ISet.intersection(Iterable<? extends T> other) Removes all values from the Set that are not contained in the other collection.ISet.intersection(Iterator<? extends T> values) Removes all values from the Set that are not contained in the other collection.ISet.intersection(Set<? extends T> other) Removes all values from the Set that are not contained in the other collection.ISet.intersection(ISet<? extends T> other) Removes all values from the Set that are not contained in the other collection.static <T> ISet<T> ISets.ordered()Constructs an empty set that sorts values based on the order they were originally added to the set.static <T> ISet<T> Constructs a set containing all of the values in source that sorts values based on the order they were originally added to the set.static <T> ISet<T> Constructs a set containing all of the values in source that sorts values based on the order they were originally added to the set.static <T> ISet<T> ISets.ordered(T... source) Constructs a set containing all of the values in source that sorts values based on the order they were originally added to the set.Returns a set of the same type as this containing all those elements for which predicate returns false.Returns a set of the same type as this containing only those elements for which predicate returns true.static <T extends Comparable<T>>
ISet<T> ISets.sorted()Constructs an empty set that sorts values in their natural sort order (using ComparableComparator).static <T extends Comparable<T>>
ISet<T> Constructs a set containing all of the values in source that sorts values in their natural sort order (using ComparableComparator).static <T> ISet<T> ISets.sorted(Comparator<T> comparator) Constructs an empty set that sorts values using comparator.static <T> ISet<T> ISets.sorted(Comparator<T> comparator, Iterable<? extends T> source) Constructs a set containing all of the values in source that sorts values using comparator.static <T> ISet<T> ISets.sorted(Comparator<T> comparator, Iterator<? extends T> source) Constructs a set containing all of the values in source that sorts values using comparator.static <T> ISet<T> ISets.sorted(Comparator<T> comparator, T... source) Constructs a set containing all of the values in source that sorts values using comparator.static <T extends Comparable<T>>
ISet<T> Constructs a set containing all of the values in source that sorts values in their natural sort order (using ComparableComparator).static <T extends Comparable<T>>
ISet<T> ISets.sorted(T... source) Constructs a set containing all of the values in source that sorts values in their natural sort order (using ComparableComparator).Adds all values from other to the Set.Adds all values from other to the Set.Methods in org.javimmutable.collections that return types with arguments of type ISetModifier and TypeMethodDescriptionIStreamable<IMapEntry<K, ISet<V>>> ISetMap.entries()Creates an IStreamable to access all of the Map's entries.ISet.setCollector()Returns a Collector that creates a set of the same type as this containing all of the collected values inserted over whatever starting values this already contained.static <T> java.util.stream.Collector<T, ?, ISet<T>> ICollectors.toOrderedSet()Collects into a set that sorts values based on the order they were originally added to the set.static <T> java.util.stream.Collector<T, ?, ISet<T>> ICollectors.toSet()Collects into an unsorted set to the set.static <T extends Comparable<T>>
java.util.stream.Collector<T, ?, ISet<T>> ICollectors.toSortedSet()Collects values into a sortedISetusing natural sort order of elements.static <T> java.util.stream.Collector<T, ?, ISet<T>> ICollectors.toSortedSet(Comparator<T> comparator) Collects values into a sortedISetusing specified Comparator.Methods in org.javimmutable.collections with parameters of type ISetModifier and TypeMethodDescriptionSets the set associated with a specific key.IMultiset.intersection(ISet<? extends T> other) Creates a new multiset with the occurrences that are in both other and this.ISet.intersection(ISet<? extends T> other) Removes all values from the Set that are not contained in the other collection.ISetMap.intersection(K key, ISet<? extends V> other) Removes all values from the Set at key that are not contained in the other collection.static <K,V> ISetMap <K, V> Creates a set map using the provided templates for map and set.Method parameters in org.javimmutable.collections with type arguments of type ISetModifier and TypeMethodDescriptiondefault voidProcesses every key/set pair in this map using the provided function.default <E extends Exception>
voidISetMap.forEachThrows(Proc2Throws<K, ISet<V>, E> proc) Processes every key/set pair in this map using the provided function.Add value to the Set for the specified key.static <K,V> ISetMap <K, V> Creates a set map using the provided templates for map and set.Apply the specified transform function to the Set assigned to the specified key and assign the result to the key in this map.Apply the specified transform function to the Set assigned to the specified key and assign the result to the key in this map.Apply the specified transform function to the Set assigned to the specified key and assign the result to the key in this map.Apply the specified transform function to the Set assigned to the specified key and assign the result to the key in this map. -
Uses of ISet in org.javimmutable.collections.common
Classes in org.javimmutable.collections.common that implement ISetMethods in org.javimmutable.collections.common that return ISetModifier and TypeMethodDescriptionGenericSetBuilder.build()Implemented by derived classes to create a new instance of the appropriate class.AbstractSet.intersection(Iterable<? extends T> other) AbstractSet.intersection(ISet<? extends T> other) AbstractSetUsingMap.intersection(Iterator<? extends T> values) AbstractSetUsingMap.intersection(Set<? extends T> other) Methods in org.javimmutable.collections.common with parameters of type ISetModifier and TypeMethodDescriptionAbstractMultiset.intersection(ISet<? extends T> other) AbstractSet.intersection(ISet<? extends T> other) static <T> SetAdaptor<T> Constructors in org.javimmutable.collections.common with parameters of type ISetConstructor parameters in org.javimmutable.collections.common with type arguments of type ISetModifierConstructorDescriptionGenericSetBuilder(IMapBuilder<T, Boolean> mapBuilder, Func1<IMap<T, Boolean>, ISet<T>> setFactory) -
Uses of ISet in org.javimmutable.collections.hash
Classes in org.javimmutable.collections.hash that implement ISetMethods in org.javimmutable.collections.hash that return ISetModifier and TypeMethodDescriptionEmptyHashSet.deleteAll()HashSet.deleteAll()EmptyHashSet.intersection(Iterable<? extends T> other) EmptyHashSet.intersection(Iterator<? extends T> values) EmptyHashSet.intersection(Set<? extends T> other) EmptyHashSet.intersection(ISet<? extends T> other) HashSet.intersection(Iterator<? extends T> values) HashSet.intersection(Set<? extends T> otherSet) static <T> ISet<T> HashSet.of()Methods in org.javimmutable.collections.hash with parameters of type ISet -
Uses of ISet in org.javimmutable.collections.inorder
Classes in org.javimmutable.collections.inorder that implement ISetModifier and TypeClassDescriptionclassIMultisetimplementation built on top of an ordered map.classOrderedSet<T>ISetimplementation built on top of an ordered set.Methods in org.javimmutable.collections.inorder that return ISetMethods in org.javimmutable.collections.inorder that return types with arguments of type ISet -
Uses of ISet in org.javimmutable.collections.serialization
Fields in org.javimmutable.collections.serialization declared as ISetModifier and TypeFieldDescriptionprotected ISetAbstractSetProxy.setprotected ISetAbstractSetProxy.setprotected ISetAbstractSetProxy.setMethods in org.javimmutable.collections.serialization that return ISet -
Uses of ISet in org.javimmutable.collections.setmap
Fields in org.javimmutable.collections.setmap declared as ISetModifier and TypeFieldDescriptionprotected final ISet<V> AbstractSetMap.emptySetprotected final ISet<V> AbstractSetMap.emptySetprotected final ISet<V> AbstractSetMap.emptySetprotected final ISet<V> AbstractSetMap.emptySetFields in org.javimmutable.collections.setmap with type parameters of type ISetModifier and TypeFieldDescriptionAbstractSetMap.contentsAbstractSetMap.contentsAbstractSetMap.contentsAbstractSetMap.contentsMethods in org.javimmutable.collections.setmap that return ISetMethods in org.javimmutable.collections.setmap that return types with arguments of type ISetMethods in org.javimmutable.collections.setmap with parameters of type ISetModifier and TypeMethodDescriptionstatic <K,V> ISetMap <K, V> Creates a new emptyISetMapobject using the specified template map and set implementations.Method parameters in org.javimmutable.collections.setmap with type arguments of type ISet -
Uses of ISet in org.javimmutable.collections.tree
Classes in org.javimmutable.collections.tree that implement ISetMethods in org.javimmutable.collections.tree that return ISet