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 anK, V> , provided by the FicMapEntryExtension extensionEntry. UsingEntrymakes testing easier. For example:no 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