object NonEmptySet
- Alphabetic
- By Inheritance
- NonEmptySet
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- 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
- implicit val NonEmptySetCommutativeEither: CommutativeEither[NonEmptySet]
The
CommutativeEitherinstance forNonEmptySet. - implicit def NonEmptySetCommutativeIdempotent[A]: Commutative[NonEmptySet[A]] with Idempotent[NonEmptySet[A]]
The
CommutativeandIdempotent(and thusAssociative) instance forNonEmptySet. - implicit def NonEmptySetDebug[A](implicit arg0: Debug[A]): Debug[NonEmptySet[A]]
Derives a
Debug[NonEmptySet[A]]given aDebug[A]. - implicit val NonEmptySetDeriveEqual: DeriveEqual[NonEmptySet]
The
DeriveEqualinstance forNonEmptySet. - implicit def NonEmptySetHashPartialOrd[A]: Hash[NonEmptySet[A]] with PartialOrd[NonEmptySet[A]]
Derives a
Hash[NonEmptySet[A]]andPartialOrd[NonEmptySet[A]](and thusEqual[NonEmptyList[A]]) instance. - implicit val NonEmptySetInvariant: Invariant[NonEmptySet]
The
Invariantinstance forNonEmptySet. - def apply[A](elem: A, others: A*): NonEmptySet[A]
Creates a
NonEmptySetwith the specified elements.Creates a
NonEmptySetwith the specified elements.- A
the type of the
NonEmptySet's elements- elem
an element of the created
NonEmptySet- others
the remaining elements of the created
NonEmptySet- returns
a new
NonEmptySetwith elementselemandothers
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def fromIterable[A](head: A, tail: Iterable[A]): NonEmptySet[A]
Constructs a
NonEmptySetfrom an element andIterable. - def fromIterableOption[A](iterable: Iterable[A]): Option[NonEmptySet[A]]
Constructs a
NonEmptySetfrom anIterableorNoneotherwise. - def fromNonEmptyChunk[A](elems: NonEmptyChunk[A]): NonEmptySet[A]
Constructs a
NonEmptyChunkfrom aNonEmptyList. - def fromNonEmptyList[A](elems: NonEmptyList[A]): NonEmptySet[A]
Constructs a
NonEmptySetfrom aNonEmptyList. - def fromSet[A](elem: A, others: Set[A]): NonEmptySet[A]
Constructs a
NonEmptySetfrom an element andSet. - def fromSetOption[A](set: Set[A]): Option[NonEmptySet[A]]
Constructs a
NonEmptySetfrom aSetorNoneotherwise. - final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def single[A](head: A): NonEmptySet[A]
Constructs a
NonEmptySetwith the specified single value. - final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- implicit def toSet[A](nonEmptySet: NonEmptySet[A]): Set[A]
Provides an implicit conversion from
NonEmptySetto theSetfor interoperability with Scala's collection library. - def toString(): String
- Definition Classes
- AnyRef → Any
- def unapply[A](arg: NonEmptySet[A]): Some[(A, Set[A])]
- def union[A](l: Set[A], r: NonEmptySet[A]): NonEmptySet[A]
Creates a
NonEmptySetcontaining elements fromlandr - def union[A](l: NonEmptySet[A], r: Set[A]): NonEmptySet[A]
Creates a
NonEmptySetcontaining elements fromlandr - final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- 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]) @native()