in scala.collection.mutable
class ImmutableSetAdaptor

`class` ImmutableSetAdaptor [ A ]
  `extends` java.lang.Object
  `with` scala.collection.mutable.Set[A]
  `with` scala.ScalaObject

  This class can be used as an adaptor to create mutable sets from immutable set implementations. Only method `empty` has to be redefined if the immutable set on which this mutable set is originally based is not empty. `empty` is supposed to return the representation of an empty set.

author:
  Matthias Zenger
version:
  1.0, 21/07/2003

Constructor Summary
| `def` this ( set : scala.collection.immutable.Set[A] )

Def Summary
| `def` += ( elem : A ) : scala.Unit
| `def` -= ( elem : A ) : scala.Unit
| `def` clear : scala.Unit
| `def` contains ( elem : A ) : scala.Boolean
| `def` elements : scala.Iterator[A]
`override` | `def` exists ( p : (A) => scala.Boolean ) : scala.Boolean
`override` | `def` foreach ( f : (A) => scala.Unit ) : scala.Unit
`override` | `def` isEmpty : scala.Boolean
| `def` size : scala.Int
`override` | `def` toList : scala.List[A]
`override` | `def` toString : java.lang.String

Constructor Detail

`def` this ( set : scala.collection.immutable.Set[A] )

Def Detail

`def` += ( elem : A ) : scala.Unit

`def` -= ( elem : A ) : scala.Unit

`def` clear : scala.Unit

`def` contains ( elem : A ) : scala.Boolean

`def` elements : scala.Iterator[A]

override `def` exists ( p : (A) => scala.Boolean ) : scala.Boolean

override `def` foreach ( f : (A) => scala.Unit ) : scala.Unit

override `def` isEmpty : scala.Boolean

`def` size : scala.Int

override `def` toList : scala.List[A]

override `def` toString : java.lang.String