FicMapEntryExtension<K, V> extension

on

Properties

asComparableEntry Entry<K, V>

Available on MapEntry<K, V>, provided by the FicMapEntryExtension extension

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

Available on MapEntry<K, V>, provided by the FicMapEntryExtension extension

Compare the keys of the map entries, if they are Comparable. If the keys are the same or not Comparable, then compare the values, if they are Comparable. If keys and values are the same or not Comparable, return 0.
print([bool? prettyPrint]) String

Available on MapEntry<K, V>, provided by the FicMapEntryExtension extension