Packages

object HashSet extends MutableSetFactory[HashSet] with Serializable

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

Source
HashSet.scala
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HashSet
  2. Serializable
  3. Serializable
  4. MutableSetFactory
  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*): HashSet[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, HashSet[A]]
  3. def empty[A]: HashSet[A]

    An empty collection of type mutable.HashSet[A]

    An empty collection of type mutable.HashSet[A]

    A

    the type of the mutable hash set's elements

    Definition Classes
    HashSetGenericCompanion
  4. def newBuilder[A]: Builder[A, HashSet[A]]

    The default builder for Set objects.

    The default builder for Set objects.

    A

    the type of the set's elements

    Definition Classes
    MutableSetFactoryGenSetFactoryGenericCompanion
  5. def setCanBuildFrom[A]: CanBuildFrom[HashSet[_], A, HashSet[A]]

    The standard CanBuildFrom instance for Set objects.

    The standard CanBuildFrom instance for Set objects.

    Definition Classes
    GenSetFactory