0.4442126*List*[*A*].**toMap**[*T*,*U*](implicit*<:<*[*A*, (*T*,*U*)]):*Map*[*T*,*U*]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.toMapDoc ·

0.432451*LinearSeq*[*A*].**toMap**[*T*,*U*](implicit*<:<*[*A*, (*T*,*U*)]):*Map*[*T*,*U*]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.toMapDoc ·

0.42864305*LinearSeq*[*A*].**toMap**[*T*,*U*](implicit*<:<*[*A*, (*T*,*U*)]):*Map*[*T*,*U*]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.toMapDoc ·

0.42339873*Seq*[*A*].**toMap**[*T*,*U*](implicit*<:<*[*A*, (*T*,*U*)]):*Map*[*T*,*U*]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.toMapDoc ·

0.41430795*AbstractSeq*[*A*].**toMap**[*T*,*U*](implicit*<:<*[*A*, (*T*,*U*)]):*Map*[*T*,*U*]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.toMapDoc ·

0.4095523*Iterable*[*A*].**toMap**[*T*,*U*](implicit*<:<*[*A*, (*T*,*U*)]):*Map*[*T*,*U*]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.toMapDoc ·

0.40935522*Traversable*[*A*].**toMap**[*T*,*U*](implicit*<:<*[*A*, (*T*,*U*)]):*Map*[*T*,*U*]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.toMapDoc ·

0.39412653*AbstractIterable*[*A*].**toMap**[*T*,*U*](implicit*<:<*[*A*, (*T*,*U*)]):*Map*[*T*,*U*]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.toMapDoc ·

0.32510006*LinearSeqOptimized*[*A*,*Repr*].**toMap**[*T*,*U*](implicit*<:<*[*A*, (*T*,*U*)]):*Map*[*T*,*U*]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.toMapDoc ·

0.40016776*List*[*A*].**groupBy**[*K*]((*A*) =>*K*):*Map*[*K*,*List*[*A*]]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.groupByDoc ·

0.38957238*LinearSeq*[*A*].**groupBy**[*K*]((*A*) =>*K*):*Map*[*K*,*LinearSeq*[*A*]]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.groupByDoc ·

0.386142*LinearSeq*[*A*].**groupBy**[*K*]((*A*) =>*K*):*Map*[*K*,*LinearSeq*[*A*]]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.groupByDoc ·

0.38141766*Seq*[*A*].**groupBy**[*K*]((*A*) =>*K*):*Map*[*K*,*Seq*[*A*]]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.groupByDoc ·

0.37322822*AbstractSeq*[*A*].**groupBy**[*K*]((*A*) =>*K*):*Map*[*K*,*Seq*[*A*]]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.groupByDoc ·

0.3689441*Iterable*[*A*].**groupBy**[*K*]((*A*) =>*K*):*Map*[*K*,*Iterable*[*A*]]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.groupByDoc ·

0.3687666*Traversable*[*A*].**groupBy**[*K*]((*A*) =>*K*):*Map*[*K*,*Traversable*[*A*]]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.groupByDoc ·

0.35504785*AbstractIterable*[*A*].**groupBy**[*K*]((*A*) =>*K*):*Map*[*K*,*Iterable*[*A*]]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.groupByDoc ·

0.30599213*LinearSeqOptimized*[*A*,*Repr*].**groupBy**[*K*]((*A*) =>*K*):*Map*[*K*,*Repr*]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.groupByDoc ·

0.40016776**scalaz.std.AllFunctions.groupBy1**[*A*,*B*](*List*[*A*])((*A*) =>*B*):*Map*[*B*,*NonEmptyList*[*A*]]As with the standard library

`groupBy`

but preserving the fact that the values in the Map must be non-emptyscalaz-core_2.11 scalaz.std.AllFunctions.groupBy1Doc ·

0.40016776**scalaz.std.list.groupBy1**[*A*,*B*](*List*[*A*])((*A*) =>*B*):*Map*[*B*,*NonEmptyList*[*A*]]As with the standard library

`groupBy`

but preserving the fact that the values in the Map must be non-emptyscalaz-core_2.11 scalaz.std.list.groupBy1Doc ·

0.40016776**scalaz.Scalaz.groupBy1**[*A*,*B*](*List*[*A*])((*A*) =>*B*):*Map*[*B*,*NonEmptyList*[*A*]]As with the standard library

`groupBy`

but preserving the fact that the values in the Map must be non-emptyscalaz-core_2.11 scalaz.Scalaz.groupBy1Doc ·

0.3530746*ListOps*[*A*].**groupBy1**[*B*]((*A*) =>*B*):*Map*[*B*,*NonEmptyList*[*A*]]- scalaz-core_2.11 scalaz.syntax.std.ListOps.groupBy1Doc ·

0.38546774*AllFunctions*.**groupBy1**[*A*,*B*](*List*[*A*])((*A*) =>*B*):*Map*[*B*,*NonEmptyList*[*A*]]`groupBy`

but preserving the fact that the values in the Map must be non-emptyscalaz-core_2.11 scalaz.std.AllFunctions.groupBy1Doc ·

0.38546774*ListFunctions*.**groupBy1**[*A*,*B*](*List*[*A*])((*A*) =>*B*):*Map*[*B*,*NonEmptyList*[*A*]]`groupBy`

but preserving the fact that the values in the Map must be non-emptyscalaz-core_2.11 scalaz.std.ListFunctions.groupBy1Doc ·

0.31730986*MonadReader*[*F*,*S*].**filterM**[*A*](*List*[*A*])((*A*) =>*F*[*S*,*Boolean*]):*F*[*S*,*List*[*A*]]Filter

`l`

according to an applicative predicate.scalaz-core_2.11 scalaz.MonadReader.filterMDoc ·

0.31730986*MonadListen*[*F*,*W*].**filterM**[*A*](*List*[*A*])((*A*) =>*F*[*W*,*Boolean*]):*F*[*W*,*List*[*A*]]Filter

`l`

according to an applicative predicate.scalaz-core_2.11 scalaz.MonadListen.filterMDoc ·

0.31730986*MonadTell*[*F*,*W*].**filterM**[*A*](*List*[*A*])((*A*) =>*F*[*W*,*Boolean*]):*F*[*W*,*List*[*A*]]Filter

`l`

according to an applicative predicate.scalaz-core_2.11 scalaz.MonadTell.filterMDoc ·

0.31730986*MonadError*[*F*,*E*].**filterM**[*A*](*List*[*A*])((*A*) =>*F*[*E*,*Boolean*]):*F*[*E*,*List*[*A*]]Filter

`l`

according to an applicative predicate.scalaz-core_2.11 scalaz.MonadError.filterMDoc ·

0.31730986*MonadState*[*F*,*S*].**filterM**[*A*](*List*[*A*])((*A*) =>*F*[*S*,*Boolean*]):*F*[*S*,*List*[*A*]]Filter

`l`

according to an applicative predicate.scalaz-core_2.11 scalaz.MonadState.filterMDoc ·

0.30368754*List*[*A*].**sum**[*B >: A*](implicit*Numeric*[*B*]):*B*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.sumDoc ·

0.29177466*LinearSeq*[*A*].**sum**[*B >: A*](implicit*Numeric*[*B*]):*B*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.sumDoc ·

0.28791773*LinearSeq*[*A*].**sum**[*B >: A*](implicit*Numeric*[*B*]):*B*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.sumDoc ·

0.28260595*Seq*[*A*].**sum**[*B >: A*](implicit*Numeric*[*B*]):*B*Sums up the elements of this collection.

- typeParams
- A1
the result type of the

`+`

operator.

- params
- num
`+`

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.sumDoc ·

0.27339825*AbstractSeq*[*A*].**sum**[*B >: A*](implicit*Numeric*[*B*]):*B*Sums up the elements of this collection.

- typeParams
- A1
the result type of the

`+`

operator.

- params
- num
`+`

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.sumDoc ·

0.26858142*Iterable*[*A*].**sum**[*B >: A*](implicit*Numeric*[*B*]):*B*Sums up the elements of this collection.

- typeParams
- A1
the result type of the

`+`

operator.

- params
- num
`+`

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.sumDoc ·

0.30368754*List*[*A*].**max**[*B >: A*](implicit*Ordering*[*B*]):*A*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.maxDoc ·

0.29177466*LinearSeq*[*A*].**max**[*B >: A*](implicit*Ordering*[*B*]):*A*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.maxDoc ·

0.28791773*LinearSeq*[*A*].**max**[*B >: A*](implicit*Ordering*[*B*]):*A*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.maxDoc ·

0.28260595*Seq*[*A*].**max**[*B >: A*](implicit*Ordering*[*B*]):*A*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.maxDoc ·

0.27339825*AbstractSeq*[*A*].**max**[*B >: A*](implicit*Ordering*[*B*]):*A*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.maxDoc ·

0.26858142*Iterable*[*A*].**max**[*B >: A*](implicit*Ordering*[*B*]):*A*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.maxDoc ·

0.30368754*List*[*A*].**product**[*B >: A*](implicit*Numeric*[*B*]):*B*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.productDoc ·

0.29177466*LinearSeq*[*A*].**product**[*B >: A*](implicit*Numeric*[*B*]):*B*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.productDoc ·

0.28791773*LinearSeq*[*A*].**product**[*B >: A*](implicit*Numeric*[*B*]):*B*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.productDoc ·

0.28260595*Seq*[*A*].**product**[*B >: A*](implicit*Numeric*[*B*]):*B*Multiplies up the elements of this collection.

- typeParams
- A1
the result type of the

`*`

operator.

- params
- num
`*`

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.productDoc ·

0.27339825*AbstractSeq*[*A*].**product**[*B >: A*](implicit*Numeric*[*B*]):*B*Multiplies up the elements of this collection.

- typeParams
- A1
the result type of the

`*`

operator.

- params
- num
`*`

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.productDoc ·

0.26858142*Iterable*[*A*].**product**[*B >: A*](implicit*Numeric*[*B*]):*B*Multiplies up the elements of this collection.

- typeParams
- A1
the result type of the

`*`

operator.

- params
- num
`*`

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.productDoc ·

0.30368754*List*[*A*].**min**[*B >: A*](implicit*Ordering*[*B*]):*A*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.minDoc ·

0.29177466*LinearSeq*[*A*].**min**[*B >: A*](implicit*Ordering*[*B*]):*A*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.minDoc ·

0.28791773*LinearSeq*[*A*].**min**[*B >: A*](implicit*Ordering*[*B*]):*A*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.minDoc ·

0.28260595*Seq*[*A*].**min**[*B >: A*](implicit*Ordering*[*B*]):*A*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.minDoc ·

0.27339825*AbstractSeq*[*A*].**min**[*B >: A*](implicit*Ordering*[*B*]):*A*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.minDoc ·

0.26858142*Iterable*[*A*].**min**[*B >: A*](implicit*Ordering*[*B*]):*A*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.minDoc ·

0.29120156*List*[*A*].**sorted**[*B >: A*](implicit*Ordering*[*B*]):*List*[*A*]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-library scala.collection.immutable.List.sortedDoc ·

0.27977848*LinearSeq*[*A*].**sorted**[*B >: A*](implicit*Ordering*[*B*]):*LinearSeq*[*A*]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-library scala.collection.immutable.LinearSeq.sortedDoc ·

0.27608013*LinearSeq*[*A*].**sorted**[*B >: A*](implicit*Ordering*[*B*]):*LinearSeq*[*A*]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-library scala.collection.LinearSeq.sortedDoc ·

0.27098674*Seq*[*A*].**sorted**[*B >: A*](implicit*Ordering*[*B*]):*Seq*[*A*]Sorts this immutable sequence according to an Ordering.

`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-library scala.collection.immutable.Seq.sortedDoc ·

0.28081062*::*[*B*].**:::**(*List*[*B*]):*List*[*B*]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 ·

0.28081062*::*[*B*].**reverse_:::**(*List*[*B*]):*List*[*B*]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 ·

0.28081062*::*[*B*].**reverse_:::**(*List*[*B*]):*List*[*B*]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 ·

0.28081062*ListBuffer*[*A*].**prependToList**(*List*[*A*]):*List*[*A*]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.prependToListDoc ·

0.28036082*List*[*A*].**toArray**:*Array*[*A*]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.toArrayDoc ·

0.26934534*LinearSeq*[*A*].**toArray**:*Array*[*A*]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.toArrayDoc ·

0.28036082**scalaz.DList.fromList**[*A*]( =>*List*[*A*]):*DList*[*A*]- scalaz-core_2.11 scalaz.DList.fromListDoc ·

0.28036082**scalaz.syntax.std.package.list.ToListOpsFromList**[*A*](*List*[*A*]):*ListOps*[*A*]- scalaz-core_2.11 scalaz.syntax.std.package.list.ToListOpsFromListDoc ·

0.28036082**scalaz.syntax.std.package.all.ToListOpsFromList**[*A*](*List*[*A*]):*ListOps*[*A*]- scalaz-core_2.11 scalaz.syntax.std.package.all.ToListOpsFromListDoc ·

0.28036082**scalaz.std.list.listSyntax.ToListOpsFromList**[*A*](*List*[*A*]):*ListOps*[*A*]- scalaz-core_2.11 scalaz.std.list.listSyntax.ToListOpsFromListDoc ·

0.28036082**scalaz.Scalaz.ToListOpsFromList**[*A*](*List*[*A*]):*ListOps*[*A*]- scalaz-core_2.11 scalaz.Scalaz.ToListOpsFromListDoc ·

0.27750987*List*[*A*].**to**[*Col*](implicit*CanBuildFrom*[*Nothing*,*A*,*Col*[*A*]]):*Col*[*A*]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.toDoc ·

0.27093077*MonadReader*[*F*,*S*].**replicateM**[*A*](*Int*,*F*[*S*,*A*]):*F*[*S*,*List*[*A*]]Performs the action

`n`

times, returning the list of results.scalaz-core_2.11 scalaz.MonadReader.replicateMDoc ·

0.27093077*MonadListen*[*F*,*W*].**replicateM**[*A*](*Int*,*F*[*W*,*A*]):*F*[*W*,*List*[*A*]]Performs the action

`n`

times, returning the list of results.scalaz-core_2.11 scalaz.MonadListen.replicateMDoc ·

0.27093077*MonadTell*[*F*,*W*].**replicateM**[*A*](*Int*,*F*[*W*,*A*]):*F*[*W*,*List*[*A*]]Performs the action

`n`

times, returning the list of results.scalaz-core_2.11 scalaz.MonadTell.replicateMDoc ·

0.27093077*MonadError*[*F*,*E*].**replicateM**[*A*](*Int*,*F*[*E*,*A*]):*F*[*E*,*List*[*A*]]Performs the action

`n`

times, returning the list of results.scalaz-core_2.11 scalaz.MonadError.replicateMDoc ·

0.27093077*MonadState*[*F*,*S*].**replicateM**[*A*](*Int*,*F*[*S*,*A*]):*F*[*S*,*List*[*A*]]Performs the action

`n`

times, returning the list of results.scalaz-core_2.11 scalaz.MonadState.replicateMDoc ·

0.2696691*List*[*A*].**copyToArray**[*B >: A*](*Array*[*B*]):*Unit*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.copyToArrayDoc ·

0.2696691*List*[*A*].**copyToArray**(*Array*[*A*]):*Unit*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.copyToArrayDoc ·

0.2696691*ToAllStdOps*.**ToListOpsFromList**[*A*](*List*[*A*]):*ListOps*[*A*]- scalaz-core_2.11 scalaz.syntax.std.ToAllStdOps.ToListOpsFromListDoc ·

0.2696691**scala.collection.immutable.::.apply**[*B*](*B*,*List*[*B*]):*::*[*B*]- scala-library scala.collection.immutable.::.applyDoc ·

0.2696691*DListFunctions*.**fromList**[*A*]( =>*List*[*A*]):*DList*[*A*]- scalaz-core_2.11 scalaz.DListFunctions.fromListDoc ·

0.2696691*StackProxy*[*A*].**elems_=**(*List*[*A*]):*Unit*- scala-library scala.collection.mutable.StackProxy.elems_=Doc ·

0.2696691*SynchronizedStack*[*A*].**elems_=**(*List*[*A*]):*Unit*- scala-library scala.collection.mutable.SynchronizedStack.elems_=Doc ·

0.26907563*List*[*A*].**minBy**[*B*]((*A*) =>*B*)(implicit*Ordering*[*B*]):*A*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.minByDoc ·

0.26907563*List*[*A*].**maxBy**[*B*]((*A*) =>*B*)(implicit*Ordering*[*B*]):*A*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.maxByDoc ·

0.2686446*List*[*A*].**toArray**[*B >: A*](implicit*ClassTag*[*B*]):*Array*[*B*]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.toArrayDoc ·

0.2684764*List*[*A*].**last**:*A*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.lastDoc ·

0.2684764*List*[*A*].**head**:*A*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.headDoc ·