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: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

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

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

  7. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  8. final def ==(arg0: Any): Boolean

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

    Append one nonempty list to another.

  10. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  11. def clone(): AnyRef

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

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

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

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

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

    Since

    7.0.3

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

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

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

    Since

    7.0.2

  20. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  21. def last: A

    Since

    7.0.2

  22. def list: List[A]

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

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

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

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

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

  28. def size: Int

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

    Since

    7.0.2

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

    Since

    7.0.2

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

    Since

    7.0.2

  32. def stream: Stream[A]

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

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

  35. def toString(): String

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

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

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

  39. final def wait(): Unit

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

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

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

  43. def zipperEnd: Zipper[A]

Inherited from AnyRef

Inherited from Any

Ungrouped