Class/Object

org.http4s.util

NonEmptyList

Related Docs: object NonEmptyList | package util

Permalink

final class NonEmptyList[+A] extends AnyRef

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

Forked from Scalaz 7.1 after moving past Scalaz 7.1 out of a desire to maintain one based on List.

Source
NonEmptyList.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NonEmptyList
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from NonEmptyList[A] to any2stringadd[NonEmptyList[A]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (NonEmptyList[A], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from NonEmptyList[A] to ArrowAssoc[NonEmptyList[A]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. def :::>[AA >: A](bs: List[AA]): NonEmptyList[AA]

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

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

    Permalink
  8. final def ==(arg0: Any): Boolean

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

    Permalink

    Append one nonempty list to another.

  10. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  11. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def collectFirst[B](pf: PartialFunction[A, B]): Option[B]

    Permalink
  13. def contains(elem: Any): Boolean

    Permalink
  14. def distinct[AA >: A](implicit A: Order[AA]): NonEmptyList[AA]

    Permalink
  15. def ensuring(cond: (NonEmptyList[A]) ⇒ Boolean, msg: ⇒ Any): NonEmptyList[A]

    Permalink
    Implicit information
    This member is added by an implicit conversion from NonEmptyList[A] to Ensuring[NonEmptyList[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: (NonEmptyList[A]) ⇒ Boolean): NonEmptyList[A]

    Permalink
    Implicit information
    This member is added by an implicit conversion from NonEmptyList[A] to Ensuring[NonEmptyList[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. def ensuring(cond: Boolean, msg: ⇒ Any): NonEmptyList[A]

    Permalink
    Implicit information
    This member is added by an implicit conversion from NonEmptyList[A] to Ensuring[NonEmptyList[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  18. def ensuring(cond: Boolean): NonEmptyList[A]

    Permalink
    Implicit information
    This member is added by an implicit conversion from NonEmptyList[A] to Ensuring[NonEmptyList[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  19. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    NonEmptyList → AnyRef → Any
  21. def exists(p: (A) ⇒ Boolean): Boolean

    Permalink
  22. def finalize(): Unit

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

    Permalink
  24. def foreach(f: (A) ⇒ Unit): Unit

    Permalink
  25. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from NonEmptyList[A] to StringFormat[NonEmptyList[A]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  26. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    NonEmptyList → AnyRef → Any
  28. val head: A

    Permalink
  29. def init: List[A]

    Permalink
  30. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  31. def last: A

    Permalink
  32. def length: Int

    Permalink
  33. def list: List[A]

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

    Permalink
  35. def mkString(sep: String): String

    Permalink
  36. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  37. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  38. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  39. def reverse: NonEmptyList[A]

    Permalink
  40. def size: Int

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

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

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

    Permalink
  44. def stream: Stream[A]

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

    Permalink
    Definition Classes
    AnyRef
  46. val tail: List[A]

    Permalink
  47. def tails: NonEmptyList[NonEmptyList[A]]

    Permalink
  48. def toString(): String

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

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

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

    Permalink
  52. final def wait(): Unit

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

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

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

    Permalink
  56. def zipWithIndex: NonEmptyList[(A, Int)]

    Permalink
  57. def zipperEnd: Zipper[A]

    Permalink
  58. def [B](y: B): (NonEmptyList[A], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from NonEmptyList[A] to ArrowAssoc[NonEmptyList[A]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from NonEmptyList[A] to any2stringadd[NonEmptyList[A]]

Inherited by implicit conversion StringFormat from NonEmptyList[A] to StringFormat[NonEmptyList[A]]

Inherited by implicit conversion Ensuring from NonEmptyList[A] to Ensuring[NonEmptyList[A]]

Inherited by implicit conversion ArrowAssoc from NonEmptyList[A] to ArrowAssoc[NonEmptyList[A]]

Ungrouped