NonEmptyList

case class NonEmptyList[+A](head: A, tail: List[A])
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def ::[B >: A](newHead: B): NonEmptyList[B]
def exists(p: A => Boolean): Boolean
def forall(p: A => Boolean): Boolean
def foreach[U](f: A => U): Unit
def iterator: Iterator[A]
def map[B](f: A => B): NonEmptyList[B]
def toList: List[A]

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product