FicMapEntryExtension<K, V> extension
- on
-
- MapEntry<
K, V>
- MapEntry<
Properties
-
asComparableEntry
→ Entry<
K, V> -
MapEntry is not Comparable.
If you need it to be comparable, you can use this getter to turn
it into an Entry. Using Entry makes testing easier. For example:
no setter
Methods
-
compareKeyAndValue(
MapEntry? other) → int -
Compare the
key
s of the map entries, if they are Comparable. If thekey
s are the same or not Comparable, then compare the values, if they are Comparable. Ifkey
s and values are the same or not Comparable, return0
. -
print(
[bool? prettyPrint]) → String