scalaz

NonEmptyList

sealed trait NonEmptyList[+A] extends AnyRef

A singly-linked list that is guaranteed to be non-empty.

Source
NonEmptyList.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. NonEmptyList
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract val head: A

  2. abstract val tail: List[A]

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. def :::>[AA >: A](bs: List[AA]): NonEmptyList[AA]

  4. def <::[AA >: A](b: AA): NonEmptyList[AA]

  5. def <:::[AA >: A](bs: List[AA]): NonEmptyList[AA]

  6. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  7. def append[AA >: A](f2: NonEmptyList[AA]): NonEmptyList[AA]

    Append one nonempty list to another.

  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  11. def equals(any: Any): Boolean

    Definition Classes
    NonEmptyList → AnyRef → Any
  12. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. def flatMap[B](f: (A) ⇒ NonEmptyList[B]): NonEmptyList[B]

  14. def foreach(f: (A) ⇒ Unit): Unit

    Since

    7.0.3

  15. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  16. def hashCode(): Int

    Definition Classes
    NonEmptyList → AnyRef → Any
  17. def init: List[A]

    Since

    7.0.2

  18. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  19. def last: A

    Since

    7.0.2

  20. def list: List[A]

  21. def map[B](f: (A) ⇒ B): NonEmptyList[B]

  22. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  23. final def notify(): Unit

    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  25. def reverse: NonEmptyList[A]

  26. def size: Int

  27. def sortBy[B](f: (A) ⇒ B)(implicit o: Order[B]): NonEmptyList[A]

    Since

    7.0.2

  28. def sortWith(lt: (A, A) ⇒ Boolean): NonEmptyList[A]

    Since

    7.0.2

  29. def sorted[B >: A](implicit o: Order[B]): NonEmptyList[A]

    Since

    7.0.2

  30. def stream: Stream[A]

  31. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  32. def tails: NonEmptyList[NonEmptyList[A]]

  33. def toString(): String

    Definition Classes
    NonEmptyList → AnyRef → Any
  34. def toZipper: Zipper[A]

  35. def traverse1[F[_], B](f: (A) ⇒ F[B])(implicit F: Apply[F]): F[NonEmptyList[B]]

  36. def unzip[X, Y](implicit ev: <:<[A, (X, Y)]): (NonEmptyList[X], NonEmptyList[Y])

  37. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. def zip[B](b: ⇒ NonEmptyList[B]): NonEmptyList[(A, B)]

  41. def zipperEnd: Zipper[A]

Inherited from AnyRef

Inherited from Any

Ungrouped