NonEmptySeq

zio.NonEmptySeq
trait NonEmptySeq[+A, CC[_], EC[_]] extends NonEmptyOps[A, CC, EC]

Attributes

Graph
Supertypes
trait NonEmptyOps[A, CC, EC]
class Object
trait Matchable
class Any
Known subtypes
class NonEmptyChunk[A]

Members list

Value members

Abstract methods

def appended[B >: A](elem: B): CC[B]
def collectFirst[B](pf: PartialFunction[A, B]): Option[B]
def distinct: CC[A]
def prepended[B >: A](elem: B): CC[B]
def reverse: CC[A]
def sortBy[B](f: A => B)(implicit ord: Ordering[B]): CC[A]
def sorted[B >: A](implicit ord: Ordering[B]): CC[B]

Inherited methods

def size: Int

Attributes

Inherited from:
NonEmptyOps
def toArray[B >: A : ClassTag]: Array[B]

Attributes

Inherited from:
NonEmptyOps

Attributes

Inherited from:
NonEmptyOps
def toList: List[A]

Attributes

Inherited from:
NonEmptyOps

Inherited and Abstract methods

def collect[B](pf: PartialFunction[A, B]): EC[B]

Attributes

Inherited from:
NonEmptyOps
def exists(p: A => Boolean): Boolean

Attributes

Inherited from:
NonEmptyOps
def filter(p: A => Boolean): EC[A]

Attributes

Inherited from:
NonEmptyOps
def filterNot(p: A => Boolean): EC[A]

Attributes

Inherited from:
NonEmptyOps
def find(p: A => Boolean): Option[A]

Attributes

Inherited from:
NonEmptyOps
def foldLeft[B](z: B)(op: (B, A) => B): B

Attributes

Inherited from:
NonEmptyOps
def forall(p: A => Boolean): Boolean

Attributes

Inherited from:
NonEmptyOps
def grouped(size: Int): Iterator[CC[A]]

Attributes

Inherited from:
NonEmptyOps
def head: A

Attributes

Inherited from:
NonEmptyOps
def init: EC[A]

Attributes

Inherited from:
NonEmptyOps
def iterator: Iterator[A]

Attributes

Inherited from:
NonEmptyOps
def last: A

Attributes

Inherited from:
NonEmptyOps
def map[B](f: A => B): CC[B]

Attributes

Inherited from:
NonEmptyOps
def reduce[B >: A](op: (B, B) => B): B

Attributes

Inherited from:
NonEmptyOps
def tail: EC[A]

Attributes

Inherited from:
NonEmptyOps
def zip[B](that: CC[B])(implicit zippable: Zippable[A, B]): CC[zippable.Out]

Attributes

Inherited from:
NonEmptyOps
def zipWithIndex: CC[(A, Int)]

Attributes

Inherited from:
NonEmptyOps