public abstract class AbstractUnmodMap<K,V> extends AbstractUnmodIterable<UnmodMap.UnEntry<K,V>> implements UnmodMap<K,V>
UnmodMap.UnEntry<K,V>
Constructor and Description |
---|
AbstractUnmodMap() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other)
When comparing against a SortedMap, this is correct and O(n) fast, but BEWARE! It is also
Compatible with
AbstractMap.equals(Object) which unfortunately means equality as defined by this method
(and java.util.AbstractMap) is not commutative when comparing ordered and unordered maps (it is
also O(n log n) slow). |
hashCode, toString
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
clear, compute, computeIfAbsent, computeIfPresent, containsValue, entrySet, isEmpty, keyIterator, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, valIterator, values
containsKey, forEach, get, getOrDefault, hashCode, size
concat, drop, dropWhile, filter, flatMap, fold, foldUntil, hash, head, iterator, map, precat, take, takeWhile, toString
forEach, spliterator
toImList, toImMap, toImRrbt, toImSet, toImSortedMap, toImSortedSet, toMutableList, toMutableMap, toMutableRrbt, toMutableSet, toMutableSortedMap, toMutableSortedSet
public boolean equals(Object other)
AbstractMap.equals(Object)
which unfortunately means equality as defined by this method
(and java.util.AbstractMap) is not commutative when comparing ordered and unordered maps (it is
also O(n log n) slow). The Equator defined by this class prevents comparison with unordered
Maps.Copyright © 2019. All rights reserved.