pimpathon.list

ListOps

implicit final class ListOps[A] extends AnyVal

Linear Supertypes
AnyVal, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ListOps
  2. AnyVal
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ListOps(list: List[A])

Value Members

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

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

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

    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def batchBy[B](f: (A) ⇒ B): List[List[A]]

  6. def const[B](elem: B): List[B]

  7. def countWithSize(p: Predicate[A]): Option[(Int, Int)]

  8. def distinctBy[B](f: (A) ⇒ B): List[A]

  9. def emptyTo(alternative: ⇒ List[A]): List[A]

  10. def fraction(p: Predicate[A]): Double

  11. def getClass(): Class[_ <: AnyVal]

    Definition Classes
    AnyVal → Any
  12. def headTail: (A, List[A])

  13. def headTailOption: Option[(A, List[A])]

  14. def initLast: (List[A], A)

  15. def initLastOption: Option[(List[A], A)]

  16. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  17. val list: List[A]

  18. def mapNonEmpty[B](f: (List[A]) ⇒ B): Option[B]

  19. def prefixPadTo(len: Int, elem: A): List[A]

  20. def seqMap[B](f: (A) ⇒ Option[B]): Option[List[B]]

  21. def sharedPrefix(other: List[A])(implicit compare: (A) ⇒ (A) ⇒ Boolean = equalC[A]): (List[A], List[A], List[A])

  22. def tailOption: Option[List[A]]

  23. def tap(empty: ⇒ Unit, nonEmpty: (List[A]) ⇒ Unit): List[A]

  24. def tapEmpty(empty: ⇒ Unit): List[A]

  25. def tapNonEmpty(nonEmpty: (List[A]) ⇒ Unit): List[A]

  26. def toString(): String

    Definition Classes
    Any
  27. def uncons[B](empty: ⇒ B, nonEmpty: (List[A]) ⇒ B): B

  28. def unconsC[B](empty: ⇒ B, nonEmpty: (A) ⇒ (List[A]) ⇒ B): B

  29. def zipToMap[B](values: List[B]): Map[A, B]

  30. def zipWith[B, C](values: List[B])(f: ((A, B)) ⇒ C): List[C]

Inherited from AnyVal

Inherited from Any

Ungrouped