Packages

object SortedSet extends Delegate[SortedSet]

This object provides a set of operations to create mutable.Sortedset values.

Annotations
@SerialVersionUID()
Source
SortedSet.scala
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SortedSet
  2. Delegate
  3. SortedIterableFactory
  4. Delegate
  5. EvidenceIterableFactory
  6. Serializable
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def apply[A](xs: A*)(implicit arg0: Ordering[A]): SortedSet[A]
    Definition Classes
    DelegateEvidenceIterableFactory
  2. def empty[A](implicit arg0: Ordering[A]): SortedSet[A]
    Definition Classes
    DelegateEvidenceIterableFactory
  3. implicit def evidenceIterableFactory[A](implicit arg0: Ordering[A]): Factory[A, SortedSet[A]]
    Definition Classes
    EvidenceIterableFactory
  4. def fill[A](n: Int)(elem: => A)(implicit arg0: Ordering[A]): SortedSet[A]

    Produces a mutable sorted set containing the results of some element computation a number of times.

    Produces a mutable sorted set containing the results of some element computation a number of times.

    n

    the number of elements contained in the mutable sorted set.

    elem

    the element computation

    returns

    A mutable sorted set that contains the results of n evaluations of elem.

    Definition Classes
    EvidenceIterableFactory
  5. def from[E](it: IterableOnce[E])(implicit arg0: Ordering[E]): SortedSet[E]
    Definition Classes
    DelegateEvidenceIterableFactory
  6. def iterate[A](start: A, len: Int)(f: (A) => A)(implicit arg0: Ordering[A]): SortedSet[A]

    Produces a mutable sorted set containing repeated applications of a function to a start value.

    Produces a mutable sorted set containing repeated applications of a function to a start value.

    start

    the start value of the mutable sorted set

    len

    the number of elements contained in the mutable sorted set

    f

    the function that's repeatedly applied

    returns

    a mutable sorted set with len values in the sequence start, f(start), f(f(start)), ...

    Definition Classes
    EvidenceIterableFactory
  7. def newBuilder[A](implicit arg0: Ordering[A]): Builder[A, SortedSet[A]]
    Definition Classes
    DelegateEvidenceIterableFactory
  8. def tabulate[A](n: Int)(f: (Int) => A)(implicit arg0: Ordering[A]): SortedSet[A]

    Produces a mutable sorted set containing values of a given function over a range of integer values starting from 0.

    Produces a mutable sorted set containing values of a given function over a range of integer values starting from 0.

    n

    The number of elements in the mutable sorted set

    f

    The function computing element values

    returns

    A mutable sorted set consisting of elements f(0), ..., f(n -1)

    Definition Classes
    EvidenceIterableFactory
  9. def unfold[A, S](init: S)(f: (S) => Option[(A, S)])(implicit arg0: Ordering[A]): SortedSet[A]

    Produces a mutable sorted set that uses a function f to produce elements of type A and update an internal state of type S.

    Produces a mutable sorted set that uses a function f to produce elements of type A and update an internal state of type S.

    A

    Type of the elements

    S

    Type of the internal state

    init

    State initial value

    f

    Computes the next element (or returns None to signal the end of the collection)

    returns

    a mutable sorted set that produces elements using f until f returns None

    Definition Classes
    EvidenceIterableFactory