in scala/collection/immutable
  
    trait Set
  
  
  
  - 
   trait Set[A]()
- extends Object
- with ScalaObject
- with Set[A]
    - 
    
    Implementing classes or objects:
    
- 
    class ListSet[A]()
- 
    class TreeSet[A](view: (A) => Ordered[A])
  
    - 
     This trait represents immutable sets. Concrete set implementations
  just have to provide functionality for the abstract methods in
  scala.collection.Setas well as for+and-.
  - Author:
- 
    Matthias Zenger
  
- Version:
- 
  1.1, 03/05/2004
 
  
    
      | Method Summary | 
    
      | 
        abstract | def +(elem: A): Set[A]This method creates a new set with an additional element.
 | 
    
      | 
        abstract | def -(elem: A): Set[A]
 -can be used to remove a single element from
  a set. | 
    
      |  | def excl(elems: A*): Set[A]
 exclremoves many elements from the set. | 
    
      |  | def excl(that: Iterable[A]): Set[A]This method removes all the elements provided by an iterator
  of the iterable object
 thatfrom the set. | 
    
      |  | def filter(p: (A) => Boolean): Set[A]Method
 filterremoves all elements from the set for
  which the predicatepyields the valuefalse. | 
    
      | 
        override | def hashCode(): Inthashcode for this set
 | 
    
      |  | def incl(elems: A*): Set[A]
 inclcan be used to add many elements to the set
  at the same time. | 
    
      |  | def incl(that: Iterable[A]): Set[A]This method will add all the elements provided by an iterator
  of the iterable object
 thatto the set. | 
    
      |  | def intersect(that: Set[A]): Set[A]This method computes an intersection with set
 that. | 
  
  
  
    
      | Methods inherited from java/lang/Object-class | 
    
      | clone, eq, finalize, getClass, notify, notifyAll, synchronized, wait, wait, wait | 
  
  
  
  
  
  
  
  
  
  
  
  
  +
  abstract def +(elem: A): Set[A]
  
    - 
     This method creates a new set with an additional element.
     
  
  incl
  def incl(elems: A*): Set[A]
  
    - 
     inclcan be used to add many elements to the set
  at the same time.
  
  incl
  def incl(that: Iterable[A]): Set[A]
  
    - 
     This method will add all the elements provided by an iterator
  of the iterable object thatto the set.
  
  -
  abstract def -(elem: A): Set[A]
  
    - 
     -can be used to remove a single element from
  a set.
  
  excl
  def excl(elems: A*): Set[A]
  
    - 
     exclremoves many elements from the set.
  
  excl
  def excl(that: Iterable[A]): Set[A]
  
    - 
     This method removes all the elements provided by an iterator
  of the iterable object thatfrom the set.
  
  intersect
  def intersect(that: Set[A]): Set[A]
  
    - 
     This method computes an intersection with set that.
  It removes all the elements that are not present inthat.
  
  filter
  def filter(p: (A) => Boolean): Set[A]
  
    - 
     Method filterremoves all elements from the set for
  which the predicatepyields the valuefalse.
  
  hashCode
  override def hashCode(): Int
  
    - 
     hashcode for this set