Creates a NonEmptyMap
with the specified elements.
Creates a NonEmptyMap
with the specified elements.
an element of the created NonEmptyMap
the remaining elements of the created NonEmptyMap
a new NonEmptyMap
with elements elem
and others
Constructs a NonEmptyMap
from an element and Iterable
.
Constructs a NonEmptyMap
from an Iterable
or None
otherwise.
Constructs a NonEmptyMap
from an element and Map
.
Constructs a NonEmptyMap
from a Map
or None
otherwise.
Constructs a NonEmptyMap
from a NonEmptyChunk
.
Constructs a NonEmptyMap
from a NonEmptyList
.
from a non-empty chunk we can create a non-empty map of non-empty chunks
from a non-empty list we can create a non-empty map of non-empty list
from a non-empty set we can create a non-empty map of non-empty sets
GroupByOption function returns an option of a nonEmpty map instead of a map because by definition the elements will be non-empty - returns None if from is
Constructs a NonEmptyMap
with the specified single value.
Provides an implicit conversion from NonEmptyMap
to the Map
for interoperability with Scala's collection library.