Companion object for class NEMap.
Attributes
Members list
Value members
Concrete methods
Constructs a new NEMap given at least one element.
Constructs a new NEMap given at least one element.
Type parameters
- K
-
the type of the key contained in the new
NEMap - V
-
the type of the value contained in the new
NEMap
Value parameters
- firstElement
-
the first element (with index 0) contained in this
NEMap - otherElements
-
a varargs of zero or more other elements (with index 1, 2, 3, ...) contained in this
NEMap
Attributes
Optionally construct a NEMap containing the elements, if any, of a given Seq.
Optionally construct a NEMap containing the elements, if any, of a given Seq.
Type parameters
- K
-
the type of the key contained in the new
NEMap - V
-
the type of the value contained in the new
NEMap
Value parameters
- seq
-
the
Seqwith which to construct aNEMap
Attributes
- Returns
-
a
NEMapcontaining the elements of the givenSeq, if non-empty, wrapped in aSome; elseNoneif theSeqis empty
Variable argument extractor for NEMaps.
Variable argument extractor for NEMaps.
Type parameters
- K
-
the type of the key contained in the
NEMap - V
-
the type of the value contained in the
NEMap
Value parameters
- NEMap:
-
the
NEMapcontaining the elements to extract
Attributes
- Returns
-
an
Seqcontaining thisNEMaps elements, wrapped in aSome