scala.collection.mutable
class JavaSetAdaptor

[source: `scala/collection/mutable/JavaSetAdaptor.scala`]

`` `class` JavaSetAdaptor[A](jset : Set)
  `extends` Set[A]

  This class can be used as an adaptor to create mutable sets from Java classes that implement interface `java.util.Set`.

Author
  Matthias Zenger
Version
  1.0, 19/09/2003

Method Summary
`def` | += (elem : A) : Unit Add a new element to the set.
`def` | -= (elem : A) : Unit Removes a single element from a set.
`override def` | clear : Unit Removes all elements from the set. After this operation is completed, the set will be empty.
`override def` | clone : Set[A] Return a clone of this set.
`def` | contains (elem : A) : Boolean Checks if this set contains element `elem`.
`def` | elements : Iterator[A] Creates a new iterator over all elements contained in this object.
`override def` | isEmpty : Boolean Checks if this set is empty.
`def` | size : Int Returns the number of elements in this set.

Methods inherited from Set
update, +=, ++=, ++=, +, +, ++, ++, incl, -=, --=, --=, -, -, --, --, excl, intersect, retain, <<, readOnly

Methods inherited from Set
apply, subsetOf, equals, hashCode, toArray

Methods inherited from Collection
toString, stringPrefix

Methods inherited from Iterable
concat, ++, map, flatMap, filter, takeWhile, dropWhile, take, drop, foreach, forall, exists, find, findIndexOf, indexOf, foldLeft, foldRight, /:, :\, reduceLeft, reduceRight, copyToBuffer, sameElements, toList, toStream, mkString, mkString, mkString, addString, addString, copyToArray, projection, hasDefiniteSize

Methods inherited from Function1
compose, andThen

Methods inherited from AnyRef
getClass, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized

Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf