Constructor and Description |
---|
Base() |
Modifier and Type | Method and Description |
---|---|
Dict.Base<KK,VV> |
asBase()
Convert this into a
Dict.Base to have useful implementations for
some standard Object methods. |
boolean |
equals(java.lang.Object o)
Equals implementation.
|
int |
hashCode() |
java.lang.String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addAllTo, empty, entries, equal, filtered, forEachEntry, forEachEntryFragile, fromTuples, frozen, get, getNonNull, getOr, getOrDefault, hasKey, isEmpty, keys, require, requireNonNull, singleton, size, toString, values, valueView, viewMap, viewMap, viewMap2, viewMap2, viewNullableMap, viewNullableMap
@NotNull public Dict.Base<KK,VV> asBase()
Dict
Dict.Base
to have useful implementations for
some standard Object methods.public boolean equals(java.lang.Object o)
Dict.entries()
, so two Dict
s
with the same content differ when the order differs.
This is consistent with the implementation this
class provides for hashCode()
.equals
in class java.lang.Object
o
- other object which is checked for equalitytrue
when o is equal to thisfalse
otherwisepublic int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object