FicMapEntryExtension<K, V> extension
- on
-
- MapEntry<
K, V>
- MapEntry<
Properties
-
asComparableEntry
→ Entry<
K, V> -
Available on MapEntry<
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:K, V> , provided by the FicMapEntryExtension extensionno setter
Methods
-
compareKeyAndValue(
MapEntry? other) → int -
Available on MapEntry<
Compare theK, V> , provided by the FicMapEntryExtension extensionkeys of the map entries, if they are Comparable. If thekeys are the same or not Comparable, then compare the values, if they are Comparable. Ifkeys and values are the same or not Comparable, return0. -
print(
[bool? prettyPrint]) → String -
Available on MapEntry<
K, V> , provided by the FicMapEntryExtension extension