MapX<K, V> extension
Extensions for Map.
- on
-
- Map<
K, V>
- Map<
Properties
- hasOne → bool
-
Available on Map<
Returns true if length of this Map is 1.K, V> , provided by the MapX extensionno setter - isLengthEven → bool
-
Available on Map<
Whether length of this Map is even.K, V> , provided by the MapX extensionno setter - isLengthOdd → bool
-
Available on Map<
Whether length of this Map is odd.K, V> , provided by the MapX extensionno setter
Methods
-
ifEmpty(
Map< K, V> value) → Map<K, V> -
Available on Map<
Returns this Map if it's not empty, otherwise returnsK, V> , provided by the MapX extensionvalue
. -
toUnmodifiableMap(
) → Map< K, V> -
Available on Map<
Creates an unmodifiable Map containing the entries of this Map.K, V> , provided by the MapX extension