Package org.organicdesign.fp.collections
Interface UnmodMap.UnEntry<K,V>
-
- All Superinterfaces:
Map.Entry<K,V>
- All Known Implementing Classes:
Tuple2
public static interface UnmodMap.UnEntry<K,V> extends Map.Entry<K,V>
A map entry (key-value pair). The UnmodMap.entrySet method returns a collection-view of the map, whose elements are of this class. The only way to obtain a reference to a map entry is from the iterator of this collection-view.- See Also:
UnmodMap.entrySet()
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classUnmodMap.UnEntry.EntryToUnEntryIter<K,V>static classUnmodMap.UnEntry.EntryToUnEntrySortedIter<K,V>static classUnmodMap.UnEntry.UnmodKeyIter<K,V>static classUnmodMap.UnEntry.UnmodSortedKeyIter<K,V>static classUnmodMap.UnEntry.UnmodSortedValIter<K,V>static classUnmodMap.UnEntry.UnmodValIter<K,V>
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Deprecated Methods Modifier and Type Method Description static <K,V>
@NotNull UnmodSortedIterator<UnmodMap.UnEntry<K,V>>entryIterToUnEntrySortedUnIter(Iterator<Map.Entry<K,V>> innerIter)static <K,V>
@NotNull UnmodIterator<UnmodMap.UnEntry<K,V>>entryIterToUnEntryUnIter(Iterator<Map.Entry<K,V>> innerIter)default VsetValue(V value)Deprecated.
-
-
-
Method Detail
-
entryIterToUnEntryUnIter
@NotNull static <K,V> @NotNull UnmodIterator<UnmodMap.UnEntry<K,V>> entryIterToUnEntryUnIter(Iterator<Map.Entry<K,V>> innerIter)
-
entryIterToUnEntrySortedUnIter
@NotNull static <K,V> @NotNull UnmodSortedIterator<UnmodMap.UnEntry<K,V>> entryIterToUnEntrySortedUnIter(Iterator<Map.Entry<K,V>> innerIter)
-
setValue
@Deprecated default V setValue(V value)
Deprecated.Not compatible with immutability - useImMap.assoc(Object, Object)instead because it returns a new map.
-
-