Attributes
Members list
Type members
Inherited classlikes
Optional extractor to get a Seq extracted.
Optional extractor to get a Seq extracted.
Attributes
- Inherited from:
- NonEmptyFactory (hidden)
- Supertypes
-
class Objecttrait Matchableclass Any
Inherited types
The names of the product elements
The names of the product elements
Attributes
- Inherited from:
- Mirror
The name of the type
The name of the type
Attributes
- Inherited from:
- Mirror
Value members
Concrete methods
Factory to pass elements individually.
Factory to pass elements individually.
Attributes
Some[OneOrMore] populated with the elements of source if it contains at least one element, otherwise None.
Some[OneOrMore] populated with the elements of source if it contains at least one element, otherwise None.
Attributes
Creates a OneOrMore[A] populated with the elements of source in a non-safe way.
Creates a OneOrMore[A] populated with the elements of source in a non-safe way.
Attributes
- Throws
-
IllegalArgumentException
if
sourceis empty.
Factory to create a OneOrMore containing at leas the two elements head and _2.
Factory to create a OneOrMore containing at leas the two elements head and _2.