List[A].toMap[T, U](implicit <:<[A, (T, U)]): Map[T, U]0.4442126

Converts this list to a map. This method is unavailable unless the elements are members of Tuple2, each ((T, U)) becoming a key-value pair in the map. Duplicate keys will be overwritten by later keys: if this is an unordered collection, which key is in the resulting map is undefined.

returns

a map containing all elements of this list.

scala-library scala.collection.immutable.List.toMap
Doc ·
LinearSeq[A].toMap[T, U](implicit <:<[A, (T, U)]): Map[T, U]0.432451

Converts this immutable sequence to a map. This method is unavailable unless the elements are members of Tuple2, each ((T, U)) becoming a key-value pair in the map. Duplicate keys will be overwritten by later keys: if this is an unordered collection, which key is in the resulting map is undefined.

returns

a map containing all elements of this immutable sequence.

scala-library scala.collection.immutable.LinearSeq.toMap
Doc ·
LinearSeq[A].toMap[T, U](implicit <:<[A, (T, U)]): Map[T, U]0.42864305

Converts this sequence to a map. This method is unavailable unless the elements are members of Tuple2, each ((T, U)) becoming a key-value pair in the map. Duplicate keys will be overwritten by later keys: if this is an unordered collection, which key is in the resulting map is undefined.

returns

a map containing all elements of this sequence.

scala-library scala.collection.LinearSeq.toMap
Doc ·
Seq[A].toMap[T, U](implicit <:<[A, (T, U)]): Map[T, U]0.42339873

Converts this immutable sequence to a map. This method is unavailable unless the elements are members of Tuple2, each ((T, U)) becoming a key-value pair in the map. Duplicate keys will be overwritten by later keys: if this is an unordered collection, which key is in the resulting map is undefined.

returns

a map containing all elements of this immutable sequence.

scala-library scala.collection.immutable.Seq.toMap
Doc ·
AbstractSeq[A].toMap[T, U](implicit <:<[A, (T, U)]): Map[T, U]0.41430795

Converts this sequence to a map. This method is unavailable unless the elements are members of Tuple2, each ((T, U)) becoming a key-value pair in the map. Duplicate keys will be overwritten by later keys: if this is an unordered collection, which key is in the resulting map is undefined.

returns

a map containing all elements of this sequence.

scala-library scala.collection.AbstractSeq.toMap
Doc ·
Iterable[A].toMap[T, U](implicit <:<[A, (T, U)]): Map[T, U]0.4095523

Converts this immutable iterable collection to a map. This method is unavailable unless the elements are members of Tuple2, each ((T, U)) becoming a key-value pair in the map. Duplicate keys will be overwritten by later keys: if this is an unordered collection, which key is in the resulting map is undefined.

returns

a map containing all elements of this immutable iterable collection.

scala-library scala.collection.immutable.Iterable.toMap
Doc ·
Traversable[A].toMap[T, U](implicit <:<[A, (T, U)]): Map[T, U]0.40935522

Converts this collection to a map. This method is unavailable unless the elements are members of Tuple2, each ((T, U)) becoming a key-value pair in the map. Duplicate keys will be overwritten by later keys: if this is an unordered collection, which key is in the resulting map is undefined.

returns

a map containing all elements of this collection.

scala-library scala.collection.immutable.Traversable.toMap
Doc ·
AbstractIterable[A].toMap[T, U](implicit <:<[A, (T, U)]): Map[T, U]0.39412653

Converts this iterable collection to a map. This method is unavailable unless the elements are members of Tuple2, each ((T, U)) becoming a key-value pair in the map. Duplicate keys will be overwritten by later keys: if this is an unordered collection, which key is in the resulting map is undefined.

returns

a map containing all elements of this iterable collection.

scala-library scala.collection.AbstractIterable.toMap
Doc ·
LinearSeqOptimized[A, Repr].toMap[T, U](implicit <:<[A, (T, U)]): Map[T, U]0.32510006

Converts this sequence to a map. This method is unavailable unless the elements are members of Tuple2, each ((T, U)) becoming a key-value pair in the map. Duplicate keys will be overwritten by later keys: if this is an unordered collection, which key is in the resulting map is undefined.

returns

a map containing all elements of this sequence.

scala-library scala.collection.LinearSeqOptimized.toMap
Doc ·
List[A].groupBy[K]((A) => K): Map[K, List[A]]0.40016776

Partitions this list into a map of lists according to some discriminator function.

Note: this method is not re-implemented by views. This means when applied to a view it will always force the view and return a new list.

typeParams
K

the type of keys returned by the discriminator function.

params
f

the discriminator function.

returns

A map from keys to lists such that the following invariant holds:

(xs groupBy f)(k) = xs filter (x => f(x) == k)

That is, every key k is bound to a list of those elements x for which f(x) equals k.

scala-library scala.collection.immutable.List.groupBy
Doc ·
LinearSeq[A].groupBy[K]((A) => K): Map[K, LinearSeq[A]]0.38957238

Partitions this immutable sequence into a map of immutable sequences according to some discriminator function.

Note: this method is not re-implemented by views. This means when applied to a view it will always force the view and return a new immutable sequence.

typeParams
K

the type of keys returned by the discriminator function.

params
f

the discriminator function.

returns

A map from keys to immutable sequences such that the following invariant holds:

(xs groupBy f)(k) = xs filter (x => f(x) == k)

That is, every key k is bound to a immutable sequence of those elements x for which f(x) equals k.

scala-library scala.collection.immutable.LinearSeq.groupBy
Doc ·
LinearSeq[A].groupBy[K]((A) => K): Map[K, LinearSeq[A]]0.386142

Partitions this sequence into a map of sequences according to some discriminator function.

Note: this method is not re-implemented by views. This means when applied to a view it will always force the view and return a new sequence.

typeParams
K

the type of keys returned by the discriminator function.

params
f

the discriminator function.

returns

A map from keys to sequences such that the following invariant holds:

(xs groupBy f)(k) = xs filter (x => f(x) == k)

That is, every key k is bound to a sequence of those elements x for which f(x) equals k.

scala-library scala.collection.LinearSeq.groupBy
Doc ·
Seq[A].groupBy[K]((A) => K): Map[K, Seq[A]]0.38141766

Partitions this immutable sequence into a map of immutable sequences according to some discriminator function.

Note: this method is not re-implemented by views. This means when applied to a view it will always force the view and return a new immutable sequence.

typeParams
K

the type of keys returned by the discriminator function.

params
f

the discriminator function.

returns

A map from keys to immutable sequences such that the following invariant holds:

(xs groupBy f)(k) = xs filter (x => f(x) == k)

That is, every key k is bound to a immutable sequence of those elements x for which f(x) equals k.

scala-library scala.collection.immutable.Seq.groupBy
Doc ·
AbstractSeq[A].groupBy[K]((A) => K): Map[K, Seq[A]]0.37322822

Partitions this sequence into a map of sequences according to some discriminator function.

Note: this method is not re-implemented by views. This means when applied to a view it will always force the view and return a new sequence.

typeParams
K

the type of keys returned by the discriminator function.

params
f

the discriminator function.

returns

A map from keys to sequences such that the following invariant holds:

(xs groupBy f)(k) = xs filter (x => f(x) == k)

That is, every key k is bound to a sequence of those elements x for which f(x) equals k.

scala-library scala.collection.AbstractSeq.groupBy
Doc ·
Iterable[A].groupBy[K]((A) => K): Map[K, Iterable[A]]0.3689441

Partitions this immutable iterable collection into a map of immutable iterable collections according to some discriminator function.

Note: this method is not re-implemented by views. This means when applied to a view it will always force the view and return a new immutable iterable collection.

typeParams
K

the type of keys returned by the discriminator function.

params
f

the discriminator function.

returns

A map from keys to immutable iterable collections such that the following invariant holds:

(xs groupBy f)(k) = xs filter (x => f(x) == k)

That is, every key k is bound to a immutable iterable collection of those elements x for which f(x) equals k.

scala-library scala.collection.immutable.Iterable.groupBy
Doc ·
Traversable[A].groupBy[K]((A) => K): Map[K, Traversable[A]]0.3687666

Partitions this collection into a map of collections according to some discriminator function.

Note: this method is not re-implemented by views. This means when applied to a view it will always force the view and return a new collection.

typeParams
K

the type of keys returned by the discriminator function.

params
f

the discriminator function.

returns

A map from keys to collections such that the following invariant holds:

(xs groupBy f)(k) = xs filter (x => f(x) == k)

That is, every key k is bound to a collection of those elements x for which f(x) equals k.

scala-library scala.collection.immutable.Traversable.groupBy
Doc ·
AbstractIterable[A].groupBy[K]((A) => K): Map[K, Iterable[A]]0.35504785

Partitions this iterable collection into a map of iterable collections according to some discriminator function.

Note: this method is not re-implemented by views. This means when applied to a view it will always force the view and return a new iterable collection.

typeParams
K

the type of keys returned by the discriminator function.

params
f

the discriminator function.

returns

A map from keys to iterable collections such that the following invariant holds:

(xs groupBy f)(k) = xs filter (x => f(x) == k)

That is, every key k is bound to a iterable collection of those elements x for which f(x) equals k.

scala-library scala.collection.AbstractIterable.groupBy
Doc ·
LinearSeqOptimized[A, Repr].groupBy[K]((A) => K): Map[K, Repr]0.30599213

Partitions this sequence into a map of sequences according to some discriminator function.

Note: this method is not re-implemented by views. This means when applied to a view it will always force the view and return a new sequence.

typeParams
K

the type of keys returned by the discriminator function.

params
f

the discriminator function.

returns

A map from keys to sequences such that the following invariant holds:

(xs groupBy f)(k) = xs filter (x => f(x) == k)

That is, every key k is bound to a sequence of those elements x for which f(x) equals k.

scala-library scala.collection.LinearSeqOptimized.groupBy
Doc ·
scalaz.std.AllFunctions.groupBy1[A, B](List[A])((A) => B): Map[B, NonEmptyList[A]]0.40016776

As with the standard library groupBy but preserving the fact that the values in the Map must be non-empty

scalaz-core_2.11 scalaz.std.AllFunctions.groupBy1
Doc ·
scalaz.std.list.groupBy1[A, B](List[A])((A) => B): Map[B, NonEmptyList[A]]0.40016776

As with the standard library groupBy but preserving the fact that the values in the Map must be non-empty

scalaz-core_2.11 scalaz.std.list.groupBy1
Doc ·
scalaz.Scalaz.groupBy1[A, B](List[A])((A) => B): Map[B, NonEmptyList[A]]0.40016776

As with the standard library groupBy but preserving the fact that the values in the Map must be non-empty

scalaz-core_2.11 scalaz.Scalaz.groupBy1
Doc ·
ListOps[A].groupBy1[B]((A) => B): Map[B, NonEmptyList[A]]0.3530746
scalaz-core_2.11 scalaz.syntax.std.ListOps.groupBy1
Doc ·
AllFunctions.groupBy1[A, B](List[A])((A) => B): Map[B, NonEmptyList[A]]0.38546774

As with the standard library groupBy but preserving the fact that the values in the Map must be non-empty

scalaz-core_2.11 scalaz.std.AllFunctions.groupBy1
Doc ·
ListFunctions.groupBy1[A, B](List[A])((A) => B): Map[B, NonEmptyList[A]]0.38546774

As with the standard library groupBy but preserving the fact that the values in the Map must be non-empty

scalaz-core_2.11 scalaz.std.ListFunctions.groupBy1
Doc ·
MonadReader[F, S].filterM[A](List[A])((A) => F[S, Boolean]): F[S, List[A]]0.31730986

Filter l according to an applicative predicate.

scalaz-core_2.11 scalaz.MonadReader.filterM
Doc ·
MonadListen[F, W].filterM[A](List[A])((A) => F[W, Boolean]): F[W, List[A]]0.31730986

Filter l according to an applicative predicate.

scalaz-core_2.11 scalaz.MonadListen.filterM
Doc ·
MonadTell[F, W].filterM[A](List[A])((A) => F[W, Boolean]): F[W, List[A]]0.31730986

Filter l according to an applicative predicate.

scalaz-core_2.11 scalaz.MonadTell.filterM
Doc ·
MonadError[F, E].filterM[A](List[A])((A) => F[E, Boolean]): F[E, List[A]]0.31730986

Filter l according to an applicative predicate.

scalaz-core_2.11 scalaz.MonadError.filterM
Doc ·
MonadState[F, S].filterM[A](List[A])((A) => F[S, Boolean]): F[S, List[A]]0.31730986

Filter l according to an applicative predicate.

scalaz-core_2.11 scalaz.MonadState.filterM
Doc ·
List[A].sum[B >: A](implicit Numeric[B]): B0.30368754

Sums up the elements of this collection.

typeParams
A1

the result type of the + operator.

params
num

an implicit parameter defining a set of numeric operations which includes the + operator to be used in forming the sum.

returns

the sum of all elements of this list with respect to the + operator in num.

scala-library scala.collection.immutable.List.sum
Doc ·
LinearSeq[A].sum[B >: A](implicit Numeric[B]): B0.29177466

Sums up the elements of this collection.

typeParams
A1

the result type of the + operator.

params
num

an implicit parameter defining a set of numeric operations which includes the + operator to be used in forming the sum.

returns

the sum of all elements of this immutable sequence with respect to the + operator in num.

scala-library scala.collection.immutable.LinearSeq.sum
Doc ·
LinearSeq[A].sum[B >: A](implicit Numeric[B]): B0.28791773

Sums up the elements of this collection.

typeParams
A1

the result type of the + operator.

params
num

an implicit parameter defining a set of numeric operations which includes the + operator to be used in forming the sum.

returns

the sum of all elements of this sequence with respect to the + operator in num.

scala-library scala.collection.LinearSeq.sum
Doc ·
Seq[A].sum[B >: A](implicit Numeric[B]): B0.28260595

Sums up the elements of this collection.

typeParams
A1

the result type of the + operator.

params
num

an implicit parameter defining a set of numeric operations which includes the + operator to be used in forming the sum.

returns

the sum of all elements of this immutable sequence with respect to the + operator in num.

scala-library scala.collection.immutable.Seq.sum
Doc ·
AbstractSeq[A].sum[B >: A](implicit Numeric[B]): B0.27339825

Sums up the elements of this collection.

typeParams
A1

the result type of the + operator.

params
num

an implicit parameter defining a set of numeric operations which includes the + operator to be used in forming the sum.

returns

the sum of all elements of this sequence with respect to the + operator in num.

scala-library scala.collection.AbstractSeq.sum
Doc ·
Iterable[A].sum[B >: A](implicit Numeric[B]): B0.26858142

Sums up the elements of this collection.

typeParams
A1

the result type of the + operator.

params
num

an implicit parameter defining a set of numeric operations which includes the + operator to be used in forming the sum.

returns

the sum of all elements of this immutable iterable collection with respect to the + operator in num.

scala-library scala.collection.immutable.Iterable.sum
Doc ·
List[A].max[B >: A](implicit Ordering[B]): A0.30368754

Finds the largest element.

typeParams
A1

The type over which the ordering is defined.

params
ord

An ordering to be used for comparing elements.

returns

the largest element of this list with respect to the ordering ord.

scala-library scala.collection.immutable.List.max
Doc ·
LinearSeq[A].max[B >: A](implicit Ordering[B]): A0.29177466

Finds the largest element.

typeParams
A1

The type over which the ordering is defined.

params
ord

An ordering to be used for comparing elements.

returns

the largest element of this immutable sequence with respect to the ordering ord.

scala-library scala.collection.immutable.LinearSeq.max
Doc ·
LinearSeq[A].max[B >: A](implicit Ordering[B]): A0.28791773

Finds the largest element.

typeParams
A1

The type over which the ordering is defined.

params
ord

An ordering to be used for comparing elements.

returns

the largest element of this sequence with respect to the ordering ord.

scala-library scala.collection.LinearSeq.max
Doc ·
Seq[A].max[B >: A](implicit Ordering[B]): A0.28260595

Finds the largest element.

typeParams
A1

The type over which the ordering is defined.

params
ord

An ordering to be used for comparing elements.

returns

the largest element of this immutable sequence with respect to the ordering ord.

scala-library scala.collection.immutable.Seq.max
Doc ·
AbstractSeq[A].max[B >: A](implicit Ordering[B]): A0.27339825

Finds the largest element.

typeParams
A1

The type over which the ordering is defined.

params
ord

An ordering to be used for comparing elements.

returns

the largest element of this sequence with respect to the ordering ord.

scala-library scala.collection.AbstractSeq.max
Doc ·
Iterable[A].max[B >: A](implicit Ordering[B]): A0.26858142

Finds the largest element.

typeParams
A1

The type over which the ordering is defined.

params
ord

An ordering to be used for comparing elements.

returns

the largest element of this immutable iterable collection with respect to the ordering ord.

scala-library scala.collection.immutable.Iterable.max
Doc ·
List[A].product[B >: A](implicit Numeric[B]): B0.30368754

Multiplies up the elements of this collection.

typeParams
A1

the result type of the * operator.

params
num

an implicit parameter defining a set of numeric operations which includes the * operator to be used in forming the product.

returns

the product of all elements of this list with respect to the * operator in num.

scala-library scala.collection.immutable.List.product
Doc ·
LinearSeq[A].product[B >: A](implicit Numeric[B]): B0.29177466

Multiplies up the elements of this collection.

typeParams
A1

the result type of the * operator.

params
num

an implicit parameter defining a set of numeric operations which includes the * operator to be used in forming the product.

returns

the product of all elements of this immutable sequence with respect to the * operator in num.

scala-library scala.collection.immutable.LinearSeq.product
Doc ·
LinearSeq[A].product[B >: A](implicit Numeric[B]): B0.28791773

Multiplies up the elements of this collection.

typeParams
A1

the result type of the * operator.

params
num

an implicit parameter defining a set of numeric operations which includes the * operator to be used in forming the product.

returns

the product of all elements of this sequence with respect to the * operator in num.

scala-library scala.collection.LinearSeq.product
Doc ·
Seq[A].product[B >: A](implicit Numeric[B]): B0.28260595

Multiplies up the elements of this collection.

typeParams
A1

the result type of the * operator.

params
num

an implicit parameter defining a set of numeric operations which includes the * operator to be used in forming the product.

returns

the product of all elements of this immutable sequence with respect to the * operator in num.

scala-library scala.collection.immutable.Seq.product
Doc ·
AbstractSeq[A].product[B >: A](implicit Numeric[B]): B0.27339825

Multiplies up the elements of this collection.

typeParams
A1

the result type of the * operator.

params
num

an implicit parameter defining a set of numeric operations which includes the * operator to be used in forming the product.

returns

the product of all elements of this sequence with respect to the * operator in num.

scala-library scala.collection.AbstractSeq.product
Doc ·
Iterable[A].product[B >: A](implicit Numeric[B]): B0.26858142

Multiplies up the elements of this collection.

typeParams
A1

the result type of the * operator.

params
num

an implicit parameter defining a set of numeric operations which includes the * operator to be used in forming the product.

returns

the product of all elements of this immutable iterable collection with respect to the * operator in num.

scala-library scala.collection.immutable.Iterable.product
Doc ·
List[A].min[B >: A](implicit Ordering[B]): A0.30368754

Finds the smallest element.

typeParams
A1

The type over which the ordering is defined.

params
ord

An ordering to be used for comparing elements.

returns

the smallest element of this list with respect to the ordering ord.

scala-library scala.collection.immutable.List.min
Doc ·
LinearSeq[A].min[B >: A](implicit Ordering[B]): A0.29177466

Finds the smallest element.

typeParams
A1

The type over which the ordering is defined.

params
ord

An ordering to be used for comparing elements.

returns

the smallest element of this immutable sequence with respect to the ordering ord.

scala-library scala.collection.immutable.LinearSeq.min
Doc ·
LinearSeq[A].min[B >: A](implicit Ordering[B]): A0.28791773

Finds the smallest element.

typeParams
A1

The type over which the ordering is defined.

params
ord

An ordering to be used for comparing elements.

returns

the smallest element of this sequence with respect to the ordering ord.

scala-library scala.collection.LinearSeq.min
Doc ·
Seq[A].min[B >: A](implicit Ordering[B]): A0.28260595

Finds the smallest element.

typeParams
A1

The type over which the ordering is defined.

params
ord

An ordering to be used for comparing elements.

returns

the smallest element of this immutable sequence with respect to the ordering ord.

scala-library scala.collection.immutable.Seq.min
Doc ·
AbstractSeq[A].min[B >: A](implicit Ordering[B]): A0.27339825

Finds the smallest element.

typeParams
A1

The type over which the ordering is defined.

params
ord

An ordering to be used for comparing elements.

returns

the smallest element of this sequence with respect to the ordering ord.

scala-library scala.collection.AbstractSeq.min
Doc ·
Iterable[A].min[B >: A](implicit Ordering[B]): A0.26858142

Finds the smallest element.

typeParams
A1

The type over which the ordering is defined.

params
ord

An ordering to be used for comparing elements.

returns

the smallest element of this immutable iterable collection with respect to the ordering ord.

scala-library scala.collection.immutable.Iterable.min
Doc ·
List[A].sorted[B >: A](implicit Ordering[B]): List[A]0.29120156

Sorts this list according to an Ordering.

The sort is stable. That is, elements that are equal (as determined by lt) appear in the same order in the sorted sequence as in the original.

params
ord

the ordering to be used to compare elements.

returns

a list consisting of the elements of this list sorted according to the ordering ord.

see

scala.math.Ordering

scala-library scala.collection.immutable.List.sorted
Doc ·
LinearSeq[A].sorted[B >: A](implicit Ordering[B]): LinearSeq[A]0.27977848

Sorts this immutable sequence according to an Ordering.

The sort is stable. That is, elements that are equal (as determined by lt) appear in the same order in the sorted sequence as in the original.

params
ord

the ordering to be used to compare elements.

returns

a immutable sequence consisting of the elements of this immutable sequence sorted according to the ordering ord.

see

scala.math.Ordering

scala-library scala.collection.immutable.LinearSeq.sorted
Doc ·
LinearSeq[A].sorted[B >: A](implicit Ordering[B]): LinearSeq[A]0.27608013

Sorts this sequence according to an Ordering.

The sort is stable. That is, elements that are equal (as determined by lt) appear in the same order in the sorted sequence as in the original.

params
ord

the ordering to be used to compare elements.

returns

a sequence consisting of the elements of this sequence sorted according to the ordering ord.

see

scala.math.Ordering

scala-library scala.collection.LinearSeq.sorted
Doc ·
Seq[A].sorted[B >: A](implicit Ordering[B]): Seq[A]0.27098674

Sorts this immutable sequence according to an Ordering.

The sort is stable. That is, elements that are equal (as determined by lt) appear in the same order in the sorted sequence as in the original.

params
ord

the ordering to be used to compare elements.

returns

a immutable sequence consisting of the elements of this immutable sequence sorted according to the ordering ord.

see

scala.math.Ordering

scala-library scala.collection.immutable.Seq.sorted
Doc ·
::[B].:::(List[B]): List[B]0.28081062

Adds the elements of a given list in front of this list.

params
prefix

The list elements to prepend.

returns

a list resulting from the concatenation of the given list prefix and this list.

scala-library scala.collection.immutable.::.:::
Doc ·
::[B].:::(List[B]): List[B]0.28081062

Adds the elements of a given list in front of this list.

params
prefix

The list elements to prepend.

returns

a list resulting from the concatenation of the given list prefix and this list.

scala-library scala.collection.immutable.::.:::
Doc ·
::[B].reverse_:::(List[B]): List[B]0.28081062

Adds the elements of a given list in reverse order in front of this list. xs reverse_::: ys is equivalent to xs.reverse ::: ys but is more efficient.

params
prefix

the prefix to reverse and then prepend

returns

the concatenation of the reversed prefix and the current list.

scala-library scala.collection.immutable.::.reverse_:::
Doc ·
::[B].reverse_:::(List[B]): List[B]0.28081062

Adds the elements of a given list in reverse order in front of this list. xs reverse_::: ys is equivalent to xs.reverse ::: ys but is more efficient.

params
prefix

the prefix to reverse and then prepend

returns

the concatenation of the reversed prefix and the current list.

scala-library scala.collection.immutable.::.reverse_:::
Doc ·
ListBuffer[A].prependToList(List[A]): List[A]0.28081062

Prepends the elements of this buffer to a given list

params
xs

the list to which elements are prepended

scala-library scala.collection.mutable.ListBuffer.prependToList
Doc ·
List[A].toArray: Array[A]0.28036082

Converts this list to an array.

typeParams
A1

the type of the elements of the array. An ClassTag for this type must be available.

returns

an array containing all elements of this list.

scala-library scala.collection.immutable.List.toArray
Doc ·
LinearSeq[A].toArray: Array[A]0.26934534

Converts this immutable sequence to an array.

typeParams
A1

the type of the elements of the array. An ClassTag for this type must be available.

returns

an array containing all elements of this immutable sequence.

scala-library scala.collection.immutable.LinearSeq.toArray
Doc ·
scalaz.DList.fromList[A]( => List[A]): DList[A]0.28036082
scalaz-core_2.11 scalaz.DList.fromList
Doc ·
scalaz.IList.fromList[A](List[A]): IList[A]0.28036082
scalaz-core_2.11 scalaz.IList.fromList
Doc ·
scalaz.syntax.std.package.list.ToListOpsFromList[A](List[A]): ListOps[A]0.28036082
scalaz-core_2.11 scalaz.syntax.std.package.list.ToListOpsFromList
Doc ·
scalaz.syntax.std.package.all.ToListOpsFromList[A](List[A]): ListOps[A]0.28036082
scalaz-core_2.11 scalaz.syntax.std.package.all.ToListOpsFromList
Doc ·
scalaz.std.list.listSyntax.ToListOpsFromList[A](List[A]): ListOps[A]0.28036082
scalaz-core_2.11 scalaz.std.list.listSyntax.ToListOpsFromList
Doc ·
scalaz.Scalaz.ToListOpsFromList[A](List[A]): ListOps[A]0.28036082
scalaz-core_2.11 scalaz.Scalaz.ToListOpsFromList
Doc ·
List[A].to[Col](implicit CanBuildFrom[Nothing, A, Col[A]]): Col[A]0.27750987

Converts this list into another by copying all elements.

typeParams
Col

The collection type to build.

returns

a new collection containing all elements of this list.

scala-library scala.collection.immutable.List.to
Doc ·
ListOps[A].getClass(): Class[Any]0.27314976
scalaz-core_2.11 scalaz.syntax.std.ListOps.getClass
Doc ·
MonadReader[F, S].replicateM[A](Int, F[S, A]): F[S, List[A]]0.27093077

Performs the action n times, returning the list of results.

scalaz-core_2.11 scalaz.MonadReader.replicateM
Doc ·
MonadListen[F, W].replicateM[A](Int, F[W, A]): F[W, List[A]]0.27093077

Performs the action n times, returning the list of results.

scalaz-core_2.11 scalaz.MonadListen.replicateM
Doc ·
MonadTell[F, W].replicateM[A](Int, F[W, A]): F[W, List[A]]0.27093077

Performs the action n times, returning the list of results.

scalaz-core_2.11 scalaz.MonadTell.replicateM
Doc ·
MonadError[F, E].replicateM[A](Int, F[E, A]): F[E, List[A]]0.27093077

Performs the action n times, returning the list of results.

scalaz-core_2.11 scalaz.MonadError.replicateM
Doc ·
MonadState[F, S].replicateM[A](Int, F[S, A]): F[S, List[A]]0.27093077

Performs the action n times, returning the list of results.

scalaz-core_2.11 scalaz.MonadState.replicateM
Doc ·
ListOps[A].asInstanceOf[T0]: T00.27057508
scalaz-core_2.11 scalaz.syntax.std.ListOps.asInstanceOf
Doc ·
ListOps[A].$asInstanceOf[T0](): T00.27057508
scalaz-core_2.11 scalaz.syntax.std.ListOps.$asInstanceOf
Doc ·
scalaz.DList.DL[A](( => List[A]) => List[A]): DList[A]0.27010176
scalaz-core_2.11 scalaz.DList.DL
Doc ·
List[A].copyToArray[B >: A](Array[B]): Unit0.2696691

Copies values of this list to an array. Fills the given array xs with values of this list. Copying will stop once either the end of the current list is reached, or the end of the array is reached.

typeParams
B

the type of the elements of the array.

params
xs

the array to fill.

scala-library scala.collection.immutable.List.copyToArray
Doc ·
List[A].copyToArray(Array[A]): Unit0.2696691

Copies values of this list to an array. Fills the given array xs with values of this list. Copying will stop once either the end of the current list is reached, or the end of the array is reached.

typeParams
B

the type of the elements of the array.

params
xs

the array to fill.

scala-library scala.collection.immutable.List.copyToArray
Doc ·
ToAllStdOps.ToListOpsFromList[A](List[A]): ListOps[A]0.2696691
scalaz-core_2.11 scalaz.syntax.std.ToAllStdOps.ToListOpsFromList
Doc ·
ToListOps.ToListOpsFromList[A](List[A]): ListOps[A]0.2696691
scalaz-core_2.11 scalaz.syntax.std.ToListOps.ToListOpsFromList
Doc ·
List[A].copyToBuffer[B >: A](Buffer[B]): Unit0.2696691

Copies all elements of this list to a buffer.

params
dest

The buffer to which elements are copied.

scala-library scala.collection.immutable.List.copyToBuffer
Doc ·
scala.collection.immutable.::.apply[B](B, List[B]): ::[B]0.2696691
scala-library scala.collection.immutable.::.apply
Doc ·
DList[A].apply( => List[A]): Free0.2696691
scalaz-core_2.11 scalaz.DList.apply
Doc ·
DListFunctions.fromList[A]( => List[A]): DList[A]0.2696691
scalaz-core_2.11 scalaz.DListFunctions.fromList
Doc ·
Stack[A].elems_=(List[A]): Unit0.2696691
scala-library scala.collection.mutable.Stack.elems_=
Doc ·
StackProxy[A].elems_=(List[A]): Unit0.2696691
scala-library scala.collection.mutable.StackProxy.elems_=
Doc ·
SynchronizedStack[A].elems_=(List[A]): Unit0.2696691
scala-library scala.collection.mutable.SynchronizedStack.elems_=
Doc ·
List[A].minBy[B]((A) => B)(implicit Ordering[B]): A0.26907563

Finds the first element which yields the smallest value measured by function f.

typeParams
B

The result type of the function f.

params
f

The measuring function.

cmp

An ordering to be used for comparing elements.

returns

the first element of this list with the smallest value measured by function f with respect to the ordering cmp.

scala-library scala.collection.immutable.List.minBy
Doc ·
List[A].maxBy[B]((A) => B)(implicit Ordering[B]): A0.26907563

Finds the first element which yields the largest value measured by function f.

typeParams
B

The result type of the function f.

params
f

The measuring function.

cmp

An ordering to be used for comparing elements.

returns

the first element of this list with the largest value measured by function f with respect to the ordering cmp.

scala-library scala.collection.immutable.List.maxBy
Doc ·
scalaz.ISet.fromList[A](List[A])(implicit Order[A]): ISet[A]0.2686446
scalaz-core_2.11 scalaz.ISet.fromList
Doc ·
List[A].toArray[B >: A](implicit ClassTag[B]): Array[B]0.2686446

Converts this list to an array.

typeParams
A1

the type of the elements of the array. An ClassTag for this type must be available.

returns

an array containing all elements of this list.

scala-library scala.collection.immutable.List.toArray
Doc ·
List[A].to[Col]: Col0.2684764

Converts this list into another by copying all elements.

typeParams
Col

The collection type to build.

returns

a new collection containing all elements of this list.

scala-library scala.collection.immutable.List.to
Doc ·
List[A].min: A0.2684764

Finds the smallest element.

typeParams
A1

The type over which the ordering is defined.

params
ord

An ordering to be used for comparing elements.

returns

the smallest element of this list with respect to the ordering ord.

scala-library scala.collection.immutable.List.min
Doc ·
List[A].last: A0.2684764

Selects the last element.

returns

The last element of this list.

throws
NoSuchElementException

NoSuchElementException If the list is empty.

scala-library scala.collection.immutable.List.last
Doc ·
List[A].head: A0.2684764

Selects the first element of this list.

returns

the first element of this list.

throws
NoSuchElementException

NoSuchElementException if the list is empty.

scala-library scala.collection.immutable.List.head
Doc ·
List[A].max: A0.2684764

Finds the largest element.

typeParams
A1

The type over which the ordering is defined.

params
ord

An ordering to be used for comparing elements.

returns

the largest element of this list with respect to the ordering ord.

scala-library scala.collection.immutable.List.max
Doc ·