Uses of Interface
org.javimmutable.collections.IMapEntry
Packages that use IMapEntry
Package
Description
-
Uses of IMapEntry in org.javimmutable.collections
Classes in org.javimmutable.collections that implement IMapEntryMethods in org.javimmutable.collections with type parameters of type IMapEntryModifier and TypeMethodDescriptionIMapBuilder.add
(T... source) Adds all values in the array to the values included in the collection when build() is called.Methods in org.javimmutable.collections that return IMapEntryModifier and TypeMethodDescriptionMapEntry.asIMapEntry()
static <K,
V> IMapEntry <K, V> MapEntry.entry
(K key, V value) static <K,
V> IMapEntry <K, V> static <K,
V> IMapEntry <K, V> IMapEntry.of
(K key, V value) static <K,
V> IMapEntry <K, V> Methods in org.javimmutable.collections that return types with arguments of type IMapEntryModifier and TypeMethodDescriptionIStreamable
<IMapEntry<K, IList<V>>> IListMap.entries()
Creates an IStreamable to access all of the Map's entries.IMultiset.entries()
Stream iterates through each Entry, that contains a unique value and the count of occurrences.IStreamable
<IMapEntry<K, ISet<V>>> ISetMap.entries()
Creates an IStreamable to access all of the Map's entries.IArray.findEntry
(int index) Search for an Entry within the map and return a Holder indicating if the Entry was found and, if it was found, the Entry itself.Search for an Entry within the map and return a Holder indicating if the Entry was found and, if it was found, the Entry itself.IListMap.listMapCollector()
Returns a Collector that creates a listMap of the same type as this containing all of the collected values inserted over whatever starting values this already contained.IMap.mapCollector()
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.ISetMap.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.MapEntry.toIMapEntries
(Collection<Map.Entry<K, V>> source) ICollectors.toListMap()
ICollectors.toMap()
Creates a Collector suitable for use in the stream to produce a map.ICollectors.toOrderedListMap()
ICollectors.toOrderedMap()
Creates a Collector suitable for use in the stream to produce an insert order map.ICollectors.toOrderedSetMap()
ICollectors.toSetMap()
static <K extends Comparable<K>,
V>
java.util.stream.Collector<IMapEntry<K, V>, ?, IListMap<K, V>> ICollectors.toSortedListMap()
static <K extends Comparable<K>,
V>
java.util.stream.Collector<IMapEntry<K, V>, ?, IListMap<K, V>> ICollectors.toSortedListMap
(Comparator<K> comparator) static <K extends Comparable<K>,
V>
java.util.stream.Collector<IMapEntry<K, V>, ?, IMap<K, V>> ICollectors.toSortedMap()
Creates a Collector suitable for use in the stream to produce a sorted map.static <K extends Comparable<K>,
V>
java.util.stream.Collector<IMapEntry<K, V>, ?, IMap<K, V>> ICollectors.toSortedMap
(Comparator<K> comparator) Creates a Collector suitable for use in the stream to produce a sorted map.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) Methods in org.javimmutable.collections with parameters of type IMapEntryModifier and TypeMethodDescriptiondefault IMapBuilder
<K, V> IMapBuilder.add
(T... source) Adds all values in the array to the values included in the collection when build() is called.static void
MapEntry.addToString
(StringBuilder sb, IMapEntry entry) static <K extends Comparable<K>,
V>
intMapEntry.compareKeys
(IMapEntry<K, V> a, IMapEntry<K, V> b) Add key/value entry to the map, replacing any existing entry with same key.Add key/value entry to the map, replacing any existing entry with same key.Add value to the Set for the specified key.static String
MapEntry.makeToString
(IMapEntry entry) static <K,
V> IMapEntry <K, V> Method parameters in org.javimmutable.collections with type arguments of type IMapEntryModifier and TypeMethodDescriptiondefault IMapBuilder
<K, V> Adds all values in the Collection to the values included in the collection when build() is called.default IMapBuilder
<K, V> Adds all values in the Iterator to the values included in the collection when build() is called.default IMapBuilder
<K, V> Adds all values in the Indexed to the values included in the collection when build() is called.default IMapBuilder
<K, V> IMapBuilder.add
(Indexed<? extends IMapEntry<? extends K, ? extends V>> source, int offset, int limit) Adds all values in the specified range of Indexed to the values included in the collection when build() is called.static <T> IArray
<T> Creates a sparse array containing all of the values from source that supports any integer (positive or negative) as an index.Adds the values to the end of the list in the same order they appear in the Iterable.Adds the values to the end of the list in the same order they appear in the Iterable.default IArrayBuilder
<T> Adds all values from the provided Iterator using the entry keys as indexes and the entry values as values.MapEntry.toMapEntries
(Collection<IMapEntry<K, V>> source) Constructors in org.javimmutable.collections with parameters of type IMapEntry -
Uses of IMapEntry in org.javimmutable.collections.array
Methods in org.javimmutable.collections.array that return types with arguments of type IMapEntryModifier and TypeMethodDescriptionTrieArrayNode.entries()
TrieLongArrayNode.entries()
TrieArray.findEntry
(int index) TrieArray.iterator()
TrieArrayBuilder.iterator()
ArrayIterationMapper.mappedEntries
(T mapping) <K,
V> GenericIterator.Iterable <IMapEntry<K, V>> TrieArrayNode.mappedEntries
(ArrayIterationMapper<K, V, T> mapper) ArrayFindEntryMapper.mappedFindEntry
(T mapping, K key) TrieArrayNode.mappedFindEntry
(ArrayFindEntryMapper<K, V, T> mapper, K key) Methods in org.javimmutable.collections.array with parameters of type IMapEntryMethod parameters in org.javimmutable.collections.array with type arguments of type IMapEntryModifier and TypeMethodDescriptionvoid
<E extends Exception>
voidTrieArray.forEachThrows
(Proc1Throws<IMapEntry<Integer, T>, E> proc) -
Uses of IMapEntry in org.javimmutable.collections.common
Methods in org.javimmutable.collections.common that return IMapEntryMethods in org.javimmutable.collections.common that return types with arguments of type IMapEntryModifier and TypeMethodDescriptionAbstractMultiset.entries()
CollisionMap.findEntry
(CollisionMap.Node node, K key) default GenericIterator.Iterable
<IMapEntry<K, V>> CollisionMap.genericIterable
(CollisionMap.Node node) default SplitableIterable
<IMapEntry<K, V>> CollisionMap.iterable
(CollisionMap.Node node) CollisionMap.iterateOverRange
(CollisionMap.Node node, GenericIterator.State<IMapEntry<K, V>> parent, int offset, int limit) default SplitableIterator
<IMapEntry<K, V>> CollisionMap.iterator
(CollisionMap.Node node) Methods in org.javimmutable.collections.common with parameters of type IMapEntryModifier and TypeMethodDescriptionAdds the key/value pair to this map.Method parameters in org.javimmutable.collections.common with type arguments of type IMapEntryModifier and TypeMethodDescriptionCollisionMap.iterateOverRange
(CollisionMap.Node node, GenericIterator.State<IMapEntry<K, V>> parent, int offset, int limit) -
Uses of IMapEntry in org.javimmutable.collections.hash
Methods in org.javimmutable.collections.hash that return types with arguments of type IMapEntryModifier and TypeMethodDescriptionHashMap.createMapCollector()
EmptyHashMap.iterator()
HashMap.iterator()
HashMap.mappedEntries
(ArrayMapNode<K, V> mapping) HashSet.mappedEntries
(ArraySetNode<T> mapping) HashMap.mappedFindEntry
(ArrayMapNode<K, V> mapping, K key) -
Uses of IMapEntry in org.javimmutable.collections.hash.map
Classes in org.javimmutable.collections.hash.map that implement IMapEntryMethods in org.javimmutable.collections.hash.map that return types with arguments of type IMapEntryModifier and TypeMethodDescriptionArrayMapNode.entries
(CollisionMap<K, V> collisionMap) ArrayMultiValueMapNode.entries
(CollisionMap<K, V> collisionMap) ArraySingleValueMapNode.entries
(CollisionMap<K, V> collisionMap) ArrayMapNode.findEntry
(CollisionMap<K, V> collisionMap, K key) ArrayMultiValueMapNode.findEntry
(CollisionMap<K, V> collisionMap, K key) ArraySingleValueMapNode.findEntry
(CollisionMap<K, V> collisionMap, K key) Constructors in org.javimmutable.collections.hash.map with parameters of type IMapEntry -
Uses of IMapEntry in org.javimmutable.collections.inorder
Methods in org.javimmutable.collections.inorder that return types with arguments of type IMapEntryModifier and TypeMethodDescriptionOrderedMap.createMapCollector()
OrderedMap.iterator()
OrderedMap.mapCollector()
-
Uses of IMapEntry in org.javimmutable.collections.iterators
Classes in org.javimmutable.collections.iterators with type parameters of type IMapEntryModifier and TypeClassDescriptionclass
EntryStreamable<K,
V, C extends IStreamable<V>, D extends IStreamable<IMapEntry<K, C>>> Methods in org.javimmutable.collections.iterators that return types with arguments of type IMapEntryMethod parameters in org.javimmutable.collections.iterators with type arguments of type IMapEntryModifier and TypeMethodDescriptionstatic <K,
V> IStreamable <K> TransformStreamable.ofKeys
(IStreamable<IMapEntry<K, V>> source) static <K,
V> IStreamable <V> TransformStreamable.ofValues
(IStreamable<IMapEntry<K, V>> source) -
Uses of IMapEntry in org.javimmutable.collections.list
Methods in org.javimmutable.collections.list that return IMapEntryMethods in org.javimmutable.collections.list that return types with arguments of type IMapEntryModifier and TypeMethodDescriptionListCollisionMap.findEntry
(CollisionMap.Node node, K key) ListCollisionMap.iterateOverRange
(CollisionMap.Node node, GenericIterator.State<IMapEntry<K, V>> parent, int offset, int limit) Method parameters in org.javimmutable.collections.list with type arguments of type IMapEntryModifier and TypeMethodDescriptionListCollisionMap.iterateOverRange
(CollisionMap.Node node, GenericIterator.State<IMapEntry<K, V>> parent, int offset, int limit) -
Uses of IMapEntry in org.javimmutable.collections.setmap
Methods in org.javimmutable.collections.setmap that return types with arguments of type IMapEntry -
Uses of IMapEntry in org.javimmutable.collections.tree
Methods in org.javimmutable.collections.tree that return IMapEntryMethods in org.javimmutable.collections.tree that return types with arguments of type IMapEntryModifier and TypeMethodDescriptionstatic <K extends Comparable<K>,
V>
java.util.stream.Collector<IMapEntry<K, V>, ?, IMap<K, V>> TreeMap.createMapCollector()
TreeMap.createMapCollector
(Comparator<K> comparator) TreeCollisionMap.findEntry
(CollisionMap.Node node, K key) LeafNode.iterateOverRange
(GenericIterator.State<IMapEntry<K, V>> parent, int offset, int limit) TreeCollisionMap.iterateOverRange
(CollisionMap.Node node, GenericIterator.State<IMapEntry<K, V>> parent, int offset, int limit) TreeMap.iterator()
Method parameters in org.javimmutable.collections.tree with type arguments of type IMapEntryModifier and TypeMethodDescriptionLeafNode.iterateOverRange
(GenericIterator.State<IMapEntry<K, V>> parent, int offset, int limit) TreeCollisionMap.iterateOverRange
(CollisionMap.Node node, GenericIterator.State<IMapEntry<K, V>> parent, int offset, int limit)