Companion object for class NESet.
Attributes
Members list
Value members
Concrete methods
Constructs a new NESet given at least one element.
Constructs a new NESet given at least one element.
Type parameters
- T
-
the type of the element contained in the new
NESet
Value parameters
- firstElement
-
the first element (with index 0) contained in this
NESet - otherElements
-
a varargs of zero or more other elements (with index 1, 2, 3, ...) contained in this
NESet
Attributes
Optionally construct a NESet containing the elements, if any, of a given Set.
Optionally construct a NESet containing the elements, if any, of a given Set.
Value parameters
- set
-
the
Setwith which to construct aNESet
Attributes
- Returns
-
a
NESetcontaining the elements of the givenGenSeq, if non-empty, wrapped in aSome; elseNoneif theGenSeqis empty
Variable argument extractor for NESets.
Variable argument extractor for NESets.
Value parameters
- NESet:
-
the
NESetcontaining the elements to extract
Attributes
- Returns
-
an
Seqcontaining thisNESets elements, wrapped in aSome