Packages

final class NonEmptyList[A] extends AnyRef

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

Source
NonEmptyList.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NonEmptyList
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def :::>(bs: IList[A]): NonEmptyList[A]
  4. def <::(b: A): NonEmptyList[A]
  5. def <:::(bs: IList[A]): NonEmptyList[A]
  6. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  7. def append(f2: NonEmptyList[A]): NonEmptyList[A]

    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
    @native() @throws( ... )
  10. def distinct(implicit A: Order[A]): NonEmptyList[A]
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(any: Any): Boolean
    Definition Classes
    NonEmptyList → AnyRef → Any
  13. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. def flatMap[B](f: (A) ⇒ NonEmptyList[B]): NonEmptyList[B]
  15. def foreach(f: (A) ⇒ Unit): Unit

    Since

    7.0.3

  16. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. def hashCode(): Int
    Definition Classes
    NonEmptyList → AnyRef → Any
  18. val head: A
  19. def init: IList[A]

    Since

    7.0.2

  20. def inits: NonEmptyList[NonEmptyList[A]]
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. def last: A

    Since

    7.0.2

  23. def list: IList[A]
  24. def map[B](f: (A) ⇒ B): NonEmptyList[B]
  25. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  28. def reverse: NonEmptyList[A]
  29. def size: Int
  30. def sortBy[B](f: (A) ⇒ B)(implicit o: Order[B]): NonEmptyList[A]

    Since

    7.0.2

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

    Since

    7.0.2

  32. def sorted(implicit o: Order[A]): NonEmptyList[A]

    Since

    7.0.2

  33. def stream: Stream[A]
  34. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  35. val tail: IList[A]
  36. def tails: NonEmptyList[NonEmptyList[A]]
  37. def toString(): String
    Definition Classes
    NonEmptyList → AnyRef → Any
  38. def toZipper: Zipper[A]
  39. def traverse1[F[_], B](f: (A) ⇒ F[B])(implicit F: Apply[F]): F[NonEmptyList[B]]
  40. def unzip[X, Y](implicit ev: <~<[A, (X, Y)]): (NonEmptyList[X], NonEmptyList[Y])
  41. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  44. def zip[B](b: ⇒ NonEmptyList[B]): NonEmptyList[(A, B)]
  45. def zipWithIndex: NonEmptyList[(A, Int)]
  46. def zipperEnd: Zipper[A]

Inherited from AnyRef

Inherited from Any

Ungrouped