Uses of Interface
org.javimmutable.collections.ISetMap
Packages that use ISetMap
Package
Description
-
Uses of ISetMap in org.javimmutable.collections
Methods in org.javimmutable.collections that return ISetMapModifier and TypeMethodDescriptionSets the set associated with a specific key.Deletes the entry for the specified key (if any).Deletes the specified value from the specified key's set.ISetMap.deleteAll()
Deletes the elements in other at the specified key.Deletes the elements in other at the specified key.static <K,
V> ISetMap <K, V> ISetMaps.hashed()
Creates a set map with higher performance but no specific ordering of keys.Add value to the Set for the specified key.Add value to the Set for the specified key.Adds all of the elements of the specified Iterable to the Set for the specified key.Adds all of the elements of the specified collection to the Set for the specified key.ISetMap.intersection
(K key, Iterable<? extends V> other) Removes all values from the Set at key that are not contained in the other collection.ISetMap.intersection
(K key, Iterator<? extends V> other) Removes all values from the Set at key that are not contained in the other collection.ISetMap.intersection
(K key, Set<? extends V> other) Removes all values from the Set at key 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> ISetMaps.ordered()
Creates a set map with keys sorted by order they are inserted.static <K extends Comparable<K>,
V>
ISetMap<K, V> ISetMaps.sorted()
Creates a set map with keys sorted by their natural ordering.static <K,
V> ISetMap <K, V> ISetMaps.sorted
(Comparator<K> comparator) Creates a set map with keys sorted by the specified Comparator.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.Adds all values from other to the Set at keyAdds all values from other to the Set at keyMethods in org.javimmutable.collections that return types with arguments of type ISetMapModifier and TypeMethodDescriptionISetMap.setMapCollector()
Returns a Collector that creates a setMap of the same type as this containing all of the collected values inserted over whatever starting values this already contained.ICollectors.toOrderedSetMap()
ICollectors.toSetMap()
static <K extends Comparable<K>,
V>
java.util.stream.Collector<IMapEntry<K, V>, ?, ISetMap<K, V>> ICollectors.toSortedSetMap()
static <K extends Comparable<K>,
V>
java.util.stream.Collector<IMapEntry<K, V>, ?, ISetMap<K, V>> ICollectors.toSortedSetMap
(Comparator<K> comparator) -
Uses of ISetMap in org.javimmutable.collections.serialization
Fields in org.javimmutable.collections.serialization declared as ISetMapModifier and TypeFieldDescriptionprotected ISetMap
AbstractSetMapProxy.map
protected ISetMap
AbstractSetMapProxy.map
protected ISetMap
AbstractSetMapProxy.map
protected ISetMap
AbstractSetMapProxy.map
Methods in org.javimmutable.collections.serialization that return ISetMapModifier and TypeMethodDescriptionprotected ISetMap
TemplateSetMapProxy.readMap
(ObjectInput in) protected ISetMap
TreeSetMapProxy.readMap
(ObjectInput in) -
Uses of ISetMap in org.javimmutable.collections.setmap
Classes in org.javimmutable.collections.setmap that implement ISetMapModifier and TypeClassDescriptionclass
HashSetMap<K,
V> ISetMap
using a hash map for fast lookup.class
OrderedSetMap<K,
V> ISetMap
implementation that allows keys to be traversed in the same order as they were inserted into the collectionclass
TemplateSetMap<K,
V> ISetMap
implementation that uses arbitrary Map and Set templates.class
TreeSetMap<K,
V> ISetMap
implementation that allows keys to be traversed in sorted order using a Comparator of the natural ordering of the keys if they implement Comparable.Methods in org.javimmutable.collections.setmap that return ISetMapModifier and TypeMethodDescriptionSetMapFactory.create()
static <K,
V> ISetMap <K, V> Creates a new emptyISetMap
object using the specified template map and set implementations.Methods in org.javimmutable.collections.setmap that return types with arguments of type ISetMap