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
CommutativeEither
instance forNonEmptySet
. - implicit def NonEmptySetCommutativeIdempotent[A]: Commutative[NonEmptySet[A]] with Idempotent[NonEmptySet[A]]
The
Commutative
andIdempotent
(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
DeriveEqual
instance 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
Invariant
instance forNonEmptySet
. - def apply[A](elem: A, others: A*): NonEmptySet[A]
Creates a
NonEmptySet
with the specified elements.Creates a
NonEmptySet
with 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
NonEmptySet
with elementselem
andothers
- 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
NonEmptySet
from an element andIterable
. - def fromIterableOption[A](iterable: Iterable[A]): Option[NonEmptySet[A]]
Constructs a
NonEmptySet
from anIterable
orNone
otherwise. - def fromNonEmptyChunk[A](elems: NonEmptyChunk[A]): NonEmptySet[A]
Constructs a
NonEmptyChunk
from aNonEmptyList
. - def fromNonEmptyList[A](elems: NonEmptyList[A]): NonEmptySet[A]
Constructs a
NonEmptySet
from aNonEmptyList
. - def fromSet[A](elem: A, others: Set[A]): NonEmptySet[A]
Constructs a
NonEmptySet
from an element andSet
. - def fromSetOption[A](set: Set[A]): Option[NonEmptySet[A]]
Constructs a
NonEmptySet
from aSet
orNone
otherwise. - 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
NonEmptySet
with 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
NonEmptySet
to theSet
for 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
NonEmptySet
containing elements froml
andr
- def union[A](l: NonEmptySet[A], r: Set[A]): NonEmptySet[A]
Creates a
NonEmptySet
containing elements froml
andr
- 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()