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

  5. final def asInstanceOf[T0]: T0

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

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

  8. def countBy[B](f: (A) ⇒ B): MultiMap[List, Int, A]

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

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

  11. def duplicatesBy[B](f: (A) ⇒ B): List[A]

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

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

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

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

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

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

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

  19. final def isInstanceOf[T0]: Boolean

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

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

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

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

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

  25. def sizeGT(value: Int): Boolean

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

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

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

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

  30. def toString(): String

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

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

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

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

Inherited from AnyVal

Inherited from Any

Ungrouped