Scala Library: scala.collection.generic.ImmutableSortedSetFactory
scala.collection.generic.ImmutableSortedSetFactory
abstract class ImmutableSortedSetFactory[CC[A] <: immutable.SortedSet[A] with SortedSetLike[A, CC[A]]] extends SortedSetFactory[CC]
A template for companion objects of SortedSet
and subclasses thereof.
Type Members
type Coll = CC[_]
- Definition Classes
- SortedSetFactory
class SortedSetCanBuildFrom[A] extends CanBuildFrom[Coll, A, CC[A]]
- Definition Classes
- SortedSetFactory
Instance Constructors From scala.collection.generic.ImmutableSortedSetFactory
new ImmutableSortedSetFactory()
(defined at scala.collection.generic.ImmutableSortedSetFactory)
Abstract Value Members From scala.collection.generic.SortedSetFactory
abstract def empty[A](implicit ord: Ordering[A]): CC[A]
- Definition Classes
- SortedSetFactory
(defined at scala.collection.generic.SortedSetFactory)
Concrete Value Members From scala.collection.generic.SortedSetFactory
def apply[A](elems: A*)(implicit ord: Ordering[A]): CC[A]
- Definition Classes
- SortedSetFactory
(defined at scala.collection.generic.SortedSetFactory)
def newBuilder[A](implicit ord: Ordering[A]): Builder[A, CC[A]]
- Definition Classes
- SortedSetFactory
(defined at scala.collection.generic.SortedSetFactory)
implicit def newCanBuildFrom[A](implicit ord: Ordering[A]): CanBuildFrom[Coll, A, CC[A]]
- Definition Classes
- SortedSetFactory
(defined at scala.collection.generic.SortedSetFactory)
Concrete Value Members From Implicit scala.collection.parallel.CollectionsHaveToParArray ——————————————————————————–
def toParArray: ParArray[T]
- Implicit information
- This member is added by an implicit conversion from ImmutableSortedSetFactory [CC] to CollectionsHaveToParArray [ ImmutableSortedSetFactory [CC], T] performed by method CollectionsHaveToParArray in scala.collection.parallel. This conversion will take place only if an implicit value of type (ImmutableSortedSetFactory [CC]) ⇒ GenTraversableOnce [T] is in scope.
- Definition Classes
- CollectionsHaveToParArray (added by implicit convertion: scala.collection.parallel.CollectionsHaveToParArray)
Full Source:
/* __ *\
** ________ ___ / / ___ Scala API **
** / __/ __// _ | / / / _ | (c) 2003-2013, LAMP/EPFL **
** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ **
** /____/\___/_/ |_/____/_/ | | **
** |/ **
\* */
package scala
package collection
package generic
import scala.language.higherKinds
/** A template for companion objects of `SortedSet` and subclasses thereof.
*
* @since 2.8
* @define Coll `immutable.SortedSet`
* @define coll immutable sorted set
* @define factoryInfo
* This object provides a set of operations needed to create sorted sets of type `$Coll`.
* @author Martin Odersky
* @version 2.8
* @define sortedSetCanBuildFromInfo
* The standard `CanBuildFrom` instance for sorted sets
*/
abstract class ImmutableSortedSetFactory[CC[A] <: immutable.SortedSet[A] with SortedSetLike[A, CC[A]]] extends SortedSetFactory[CC]
Interested in Scala?
I send out weekly, personalized emails with articles and conference talks.
Subscribe now.