object NonEmptySortedSet
- Alphabetic
- By Inheritance
- NonEmptySortedSet
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- implicit def NonEmptySortedSetCommutativeIdempotent[A](implicit aOrd: scala.math.Ordering[A]): Commutative[NonEmptySortedSet[A]] with Idempotent[NonEmptySortedSet[A]]
The
Commutative
andIdempotent
(and thusAssociative
) instance forNonEmptySortedSet
. - implicit def NonEmptySortedSetDebug[A](implicit arg0: Debug[A]): Debug[NonEmptySortedSet[A]]
Derives a
Debug[NonEmptySortedSet[A]]
given aDebug[A]
. - implicit val NonEmptySortedSetDeriveEqual: DeriveEqual[NonEmptySortedSet]
The
DeriveEqual
instance forNonEmptySortedSet
. - implicit def NonEmptySortedSetHashPartialOrd[A]: Hash[NonEmptySortedSet[A]] with PartialOrd[NonEmptySortedSet[A]]
Derives a
Hash[NonEmptySortedSet[A]]
andPartialOrd[NonEmptySortedSet[A]]
(and thusEqual[NonEmptyList[A]]
) instance. - def apply[A](elem: A, others: A*)(implicit ordering: scala.math.Ordering[A]): NonEmptySortedSet[A]
- def apply[A](elem: A, others: Iterable[A])(implicit ordering: scala.math.Ordering[A]): NonEmptySortedSet[A]
- def fromIterableOption[A](iterable: Iterable[A])(implicit ordering: scala.math.Ordering[A]): Option[NonEmptySortedSet[A]]
Constructs a
NonEmptySortedSet
from anIterable
orNone
otherwise. - def fromNonEmptyChunk[A](elems: NonEmptyChunk[A])(implicit ordering: scala.math.Ordering[A]): NonEmptySortedSet[A]
Constructs a
NonEmptyChunk
from aNonEmptyList
. - def fromNonEmptyList[A](elems: NonEmptyList[A])(implicit ordering: scala.math.Ordering[A]): NonEmptySortedSet[A]
Constructs a
NonEmptySortedSet
from aNonEmptyList
. - def fromSet[A](elem: A, others: SortedSet[A])(implicit ordering: scala.math.Ordering[A]): NonEmptySortedSet[A]
Constructs a
NonEmptySortedSet
from an element andSortedSet
. - def fromSetOption[A](set: SortedSet[A])(implicit ordering: scala.math.Ordering[A]): Option[NonEmptySortedSet[A]]
Constructs a
NonEmptySortedSet
from aSortedSet
orNone
otherwise. - def single[A](head: A)(implicit ordering: scala.math.Ordering[A]): NonEmptySortedSet[A]
Constructs a
NonEmptySortedSet
with the specified single value. - implicit def toSet[A](nonEmptySet: NonEmptySortedSet[A]): Set[A]
Provides an implicit conversion from
NonEmptySortedSet
to theSet
for interoperability with Scala's collection library. - def unapply[A](arg: NonEmptySortedSet[A]): Some[(A, SortedSet[A])]
- def union[A](l: SortedSet[A], r: NonEmptySortedSet[A])(implicit ordering: scala.math.Ordering[A]): NonEmptySortedSet[A]
Creates a
NonEmptySortedSet
containing elements froml
andr
- def union[A](l: NonEmptySortedSet[A], r: SortedSet[A])(implicit ordering: scala.math.Ordering[A]): NonEmptySortedSet[A]
Creates a
NonEmptySortedSet
containing elements froml
andr