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, toStringclone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitclear, compute, computeIfAbsent, computeIfPresent, containsValue, entrySet, isEmpty, keyIterator, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, valIterator, valuescontainsKey, forEach, get, getOrDefault, hashCode, sizeconcat, drop, dropWhile, filter, flatMap, fold, foldUntil, hash, head, iterator, map, precat, take, takeWhile, toStringforEach, spliteratortoImList, toImMap, toImRrbt, toImSet, toImSortedMap, toImSortedSet, toMutableList, toMutableMap, toMutableRrbt, toMutableSet, toMutableSortedMap, toMutableSortedSetpublic 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.