object OneOrMore extends NonEmptyFactory[OneOrMore] with Serializable
- Alphabetic
- By Inheritance
- OneOrMore
- Serializable
- NonEmptyFactory
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- object Seq
Optional extractor to get a
Seq
extracted.Optional extractor to get a
Seq
extracted.- Definition Classes
- NonEmptyFactory
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def apply[A](head: A, more: A*): OneOrMore[A]
Factory to pass elements individually.
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def from[A](source: IterableOnce[A]): Option[OneOrMore[A]]
Some[OneOrMore]
populated with the elements ofsource
if it contains at least one element, otherwiseNone
.Some[OneOrMore]
populated with the elements ofsource
if it contains at least one element, otherwiseNone
.- Definition Classes
- OneOrMore → NonEmptyFactory
- def fromUnsafe[A](source: IterableOnce[A]): OneOrMore[A]
Creates a
OneOrMore[A]
populated with the elements ofsource
in a non-safe way.Creates a
OneOrMore[A]
populated with the elements ofsource
in a non-safe way.- Definition Classes
- OneOrMore → NonEmptyFactory
- Exceptions thrown
IllegalArgumentException
ifsource
is empty.
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def more[A](head: A, _2: A, more: A*): OneOrMore[A]
Factory to create a
OneOrMore
containing at leas the two elementshead
and_2
. - final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def one[A](head: A): OneOrMore[A]
Factory to create a
OneOrMore
containing the single elementhead
. - final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])