implicit final
class
ListPimps[A] extends AnyVal
Instance Constructors
-
new
ListPimps(list: List[A])
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
def
amass[B](pf: PartialFunction[A, List[B]]): List[B]
-
final
def
asInstanceOf[T0]: T0
-
def
batchBy[B](f: (A) ⇒ B): List[List[A]]
-
def
calcIfNonEmpty[B](f: (List[A]) ⇒ B): Option[B]
-
def
const[B](elem: B): List[B]
-
def
countBy[B](f: (A) ⇒ B): MultiMap[List, Int, A]
-
def
countWithSize(p: (A) ⇒ Boolean): Option[(Int, Int)]
-
def
distinctBy[B](f: (A) ⇒ B): List[A]
-
def
duplicates: List[A]
-
def
duplicatesBy[B](f: (A) ⇒ B): List[A]
-
def
emptyTo(alternative: ⇒ List[A]): List[A]
-
def
fraction(p: (A) ⇒ Boolean): Double
-
def
getClass(): Class[_ <: AnyVal]
-
def
headTail: (A, List[A])
-
def
headTailOption: Option[(A, List[A])]
-
def
initLast: (List[A], A)
-
def
initLastOption: Option[(List[A], A)]
-
final
def
isInstanceOf[T0]: Boolean
-
val
list: List[A]
-
def
mapIfNonEmpty[B](f: (A) ⇒ B): Option[List[B]]
-
def
onlyOption: Option[A]
-
def
prefixPadTo(len: Int, elem: A): List[A]
-
def
sharedPrefix(other: List[A])(implicit compare: (A) ⇒ (A) ⇒ Boolean = equalC[A]): (List[A], List[A], List[A])
-
def
sizeGT(value: Int): Boolean
-
def
tailOption: Option[List[A]]
-
def
tap(empty: ⇒ Unit, nonEmpty: (List[A]) ⇒ Unit): List[A]
-
def
tapEmpty(empty: ⇒ Unit): List[A]
-
def
tapNonEmpty(nonEmpty: (List[A]) ⇒ Unit): List[A]
-
def
toString(): String
-
def
uncons[B](empty: ⇒ B, nonEmpty: (List[A]) ⇒ B): B
-
def
unconsC[B](empty: ⇒ B, nonEmpty: (A) ⇒ (List[A]) ⇒ B): B
-
def
unsnocC[B](empty: ⇒ B, nonEmpty: (List[A]) ⇒ (A) ⇒ B): B
-
def
zipExact[B](other: List[B]): (List[(A, B)], Option[Either[List[A], List[B]]])
-
def
zipToMap[B](values: List[B]): Map[A, B]
-
def
zipWith[B, C](values: List[B])(f: ((A, B)) ⇒ C): List[C]
Inherited from AnyVal
Inherited from NotNull
Inherited from Any