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.

Linear Supertypes
AnyRef, Any
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

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

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

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

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

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

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

    Permalink

    Append one nonempty list to another.

  8. final def asInstanceOf[T0]: T0

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

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

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

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

    Permalink
  13. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
  16. def finalize(): Unit

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

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

    Permalink
  19. final def getClass(): Class[_]

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

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

    Permalink
  22. def init: List[A]

    Permalink
  23. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  24. def last: A

    Permalink
  25. def length: Int

    Permalink
  26. def list: List[A]

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

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

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

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

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

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

    Permalink
  33. def size: Int

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

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

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

    Permalink
  37. def stream: Stream[A]

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

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

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

    Permalink
  41. def toString(): String

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

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

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

    Permalink
  45. final def wait(): Unit

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

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

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

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

    Permalink
  50. def zipperEnd: Zipper[A]

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped