org.http4s.util

NonEmptyList

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.

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

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. def collectFirst[B](pf: PartialFunction[A, B]): Option[B]

  13. def contains(elem: Any): Boolean

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

  15. final def eq(arg0: AnyRef): Boolean

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

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

  18. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. def find(p: (A) ⇒ Boolean): Option[A]

  20. def flatMap[B](f: (A) ⇒ NonEmptyList[B]): NonEmptyList[B]

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

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

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

    Definition Classes
    NonEmptyList → AnyRef → Any
  24. val head: A

  25. def init: List[A]

  26. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  27. def last: A

  28. def length: Int

  29. def list: List[A]

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

  31. def mkString(sep: String): String

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

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

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

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

  36. def size: Int

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

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

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

  40. def stream: Stream[A]

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

    Definition Classes
    AnyRef
  42. val tail: List[A]

  43. def tails: NonEmptyList[NonEmptyList[A]]

  44. def toString(): String

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

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

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

  48. final def wait(): Unit

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

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

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

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

  53. def zipperEnd: Zipper[A]

Inherited from AnyRef

Inherited from Any

Ungrouped