| 
 | 
          Scala 1.3.0.7 | |||
scala.collection.Set as well as for add,
  remove, and clear.
  | Method Summary | |
| def ++=(that: Iterable[A]): UnitThis method will add all the elements provided by an iterator of the iterable object thatto the set. | |
| def ++=(it: Iterator[A]): UnitThis method will add all the elements provided by an iterator of the iterable object thatto the set. | |
| 
        abstract | def +=(elem: A): UnitThis method adds a new element to the set. | 
| def --=(that: Iterable[A]): UnitThis method removes all the elements provided by the the iterable object thatfrom the set. | |
| def --=(it: Iterator[A]): UnitThis method removes all the elements provided by an iterator itfrom the set. | |
| 
        abstract | def -=(elem: A): Unit-=can be used to remove a single element from
  a set. | 
| def <<(cmd: Message[A]): UnitSend a message to this scriptable object. | |
| 
        abstract | def clear: UnitRemoves all elements from the set. | 
| 
        override | def clone(): Set[A]Return a clone of this set. | 
| def excl(elems: A*): Unitexclremoves many elements from the set. | |
| def filter(p: (A) => Boolean): UnitMethod filterremoves all elements from the set for
  which the predicatepyields the valuefalse. | |
| 
        override | def hashCode(): IntThe hashCode method always yields an error, since it is not safe to use mutable stacks as keys in hash tables. | 
| def incl(elems: A*): Unitinclcan be used to add many elements to the set
  at the same time. | |
| def intersect(that: Set[A]): UnitThis method computes an intersection with set that. | |
| def update(elem: A, included: Boolean): UnitThis method allows one to add or remove an element elemfrom this set depending on the value of parameterincluded. | |
| Methods inherited from java/lang/Object-class | 
| eq, finalize, getClass, notify, notifyAll, synchronized, wait, wait, wait | 
| Methods inherited from scala/Any-class | 
| !=, ==, asInstanceOf, isInstanceOf, match | 
| Methods inherited from scala/Iterable-class | 
| /:, :\, elements, exists, find, foldLeft, foldRight, forall, foreach, sameElements | 
| Methods inherited from scala/ScalaObject-class | 
| getType | 
| Methods inherited from scala/collection/Set-class | 
| apply, contains, equals, isEmpty, size, subsetOf, toList, toString | 
| Method Detail | 
def update(elem: A, included: Boolean): Unit
elem
  from this set depending on the value of parameter included.
  Typically, one would use the following syntax:
  set(elem) = true
abstract def +=(elem: A): Unit
def ++=(that: Iterable[A]): Unit
that to the set.
     
def ++=(it: Iterator[A]): Unit
that to the set.
     
def incl(elems: A*): Unit
incl can be used to add many elements to the set
  at the same time.
     
abstract def -=(elem: A): Unit
-= can be used to remove a single element from
  a set.
     
def --=(that: Iterable[A]): Unit
that from the set.
     
def --=(it: Iterator[A]): Unit
it from the set.
     
def excl(elems: A*): Unit
excl removes many elements from the set.
     
def intersect(that: Set[A]): Unit
that.
  It removes all the elements that are not present in that.
     
def filter(p: (A) => Boolean): Unit
filter removes all elements from the set for
  which the predicate p yields the value false.
     
abstract def clear: Unit
def <<(cmd: Message[A]): Unit
cmd - 
  the message to send.
     
  override def clone(): Set[A]
override def hashCode(): Int
| 
 | 
          Scala 1.3.0.7 | |||