object NonEmptySet
- Alphabetic
- By Inheritance
- NonEmptySet
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
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[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
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() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
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(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )