in scala.collection.mutable
class ImmutableSetAdaptor

[scala.serializable]

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])

Var Summary
protected var set : scala.collection.immutable.Set[A]

Def Summary
def += (elem: A) : scala.Unit

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

override 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

Def inherited from scala.collection.mutable.Set[A]
+ , +, ++, ++, ++=, ++=, +=, +=, -, -, --, --, --=, --=, -=, -=, <<, clear, clone, excl, filter, incl, intersect, retain, super$clone, update
Constructor Detail
def this (set: scala.collection.immutable.Set[A])

Var Detail
protected var set : scala.collection.immutable.Set[A]

Def Detail
def += (elem: A): scala.Unit

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

override 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