NonEmptySet

final class NonEmptySet[A]
Value Params
tail

Does NOT contain head.

Companion
object
class Object
trait Matchable
class Any

Value members

Concrete methods

def +(a: A): NonEmptySet[A]
def ++(as: IterableOnce[A]): NonEmptySet[A]
def ++(as: NonEmptySet[A]): NonEmptySet[A]
def contains(a: A): Boolean
override def equals(o: Any): Boolean
Definition Classes
Any
def exists(f: A => Boolean): Boolean
@nowarn("cat=unused")
def flatMap[B](f: A => NonEmptySet[B])(`evidence$2`: UnivEq[B]): NonEmptySet[B]
def foldLeft[B](z: B)(f: (B, A) => B): B
def foldMapLeft1[B](g: A => B)(f: (B, A) => B): B
def forall(f: A => Boolean): Boolean
def foreach[U](f: A => U): Unit
override def hashCode: Int
Definition Classes
Any
def iterator: Iterator[A]
def lacks(a: A): Boolean
def last: A
def map[B](f: A => B)(`evidence$1`: UnivEq[B]): NonEmptySet[B]
def mapV[B](f: A => B): NonEmptyVector[B]
def reduce[B >: A](f: (B, B) => B): B
def reduceMapLeft1[B](f: A => B)(g: (B, B) => B): B
def size: Int
def to[B](factory: Factory[A, B]): B
override def toString: String
Definition Classes
Any
def toVector: Vector[A]
def whole: Set[A]

Concrete fields

val head: A
val tail: Set[A]