Packages

object ListSet extends ImmutableSetFactory[ListSet] with Serializable

This object provides a set of operations needed to create ListSet values.

Note that each element insertion takes O(n) time, which means that creating a list set with n elements will take O(n2) time. This makes the builder suitable only for a small number of elements.

Source
ListSet.scala
Since

1

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ListSet
  2. Serializable
  3. Serializable
  4. ImmutableSetFactory
  5. SetFactory
  6. GenericSeqCompanion
  7. GenSetFactory
  8. GenericCompanion
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. def apply[A](elems: A*): ListSet[A]

    Creates a collection with the specified elements.

    Creates a collection with the specified elements.

    A

    the type of the collection's elements

    elems

    the elements of the created collection

    returns

    a new collection with elements elems

    Definition Classes
    GenericCompanion
  2. implicit def canBuildFrom[A]: CanBuildFrom[Coll, A, ListSet[A]]

    The standard CanBuildFrom instance for ListSet objects.

  3. def empty[A]: ListSet[A]

    An empty collection of type Set[A]

    An empty collection of type Set[A]

    A

    the type of the set's elements

    Definition Classes
    ImmutableSetFactoryGenericCompanion
  4. def newBuilder[A]: Builder[A, ListSet[A]]

    The default builder for Set objects.

    The default builder for Set objects.

    A

    the type of the set's elements

    Definition Classes
    ImmutableSetFactoryGenSetFactoryGenericCompanion
  5. def setCanBuildFrom[A]: CanBuildFrom[ListSet[_], A, ListSet[A]]

    The standard CanBuildFrom instance for Set objects.

    The standard CanBuildFrom instance for Set objects.

    Definition Classes
    GenSetFactory