Attributes
- Companion
- class
- Source
- NonEmptyMap.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
NonEmptyMap.type
Members list
Value members
Concrete methods
Attributes
- Source
- NonEmptyMap.scala
Creates a NonEmptyMap with the specified elements.
Creates a NonEmptyMap with the specified elements.
Type parameters
- A
-
the type of the
NonEmptyMap's elements
Value parameters
- elem
-
an element of the created
NonEmptyMap - others
-
the remaining elements of the created
NonEmptyMap
Attributes
- Returns
-
a new
NonEmptyMapwith elementselemandothers - Source
- NonEmptyMap.scala
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 chunk we can create a non-empty map of non-empty chunks
Attributes
- Source
- NonEmptyMap.scala
from a non-empty list we can create a non-empty map of non-empty list
from a non-empty list we can create a non-empty map of non-empty list
Attributes
- Source
- NonEmptyMap.scala
from a non-empty set we can create a non-empty map of non-empty sets
from a non-empty set we can create a non-empty map of non-empty sets
Attributes
- Source
- NonEmptyMap.scala
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
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
Attributes
- Source
- NonEmptyMap.scala
Constructs a NonEmptyMap with the specified single value.
Attributes
- Source
- NonEmptyMap.scala
Implicits
Implicits
Provides an implicit conversion from NonEmptyMap to the Map for interoperability with Scala's collection library.
Provides an implicit conversion from NonEmptyMap to the Map for interoperability with Scala's collection library.
Attributes
- Source
- NonEmptyMap.scala