in scala/collection
  
    class SetProxy
  
  
  
  - 
   class SetProxy[A](set: Set[A])
- extends Set[A]
- with ScalaObject
- with IterableProxy[A]
    - 
    
    Implementing classes or objects:
    
- 
    class SetProxy[A](set: Set[A]) in scala/collection/mutable
    
  
    - 
     This is a simple wrapper class for scala.collection.Set.
  It is most useful for assembling customized set abstractions
  dynamically using object composition and forwarding.
  - Author:
- 
    Matthias Zenger
  
- Version:
- 
  1.0, 21/07/2003
 
  
    
      | Method Summary | 
    
      |  | def contains(elem: A): BooleanChecks if this set contains element
 elem. | 
    
      | 
        override | def exists(p: (A) => Boolean): BooleanApply a predicate
 pto all elements of this
  iterable object and return true, iff there is at least one
  element for whichpyields true. | 
    
      | 
        override | def foreach(f: (A) => Unit): UnitApply a function
 fto all elements of this
  iterable object. | 
    
      | 
        override | def isEmpty: BooleanChecks if this set is empty.
 | 
    
      |  | def size: IntReturns the number of elements in this set.
 | 
    
      | 
        override | def subsetOf(that: Set[A]): BooleanChecks if this set is a subset of set
 that. | 
    
      | 
        override | def toList: List[A]Returns the elements of this set as a list.
 | 
  
  
  
    
      | Methods inherited from java/lang/Object-class | 
    
      | clone, eq, finalize, getClass, notify, notifyAll, synchronized, wait, wait, wait | 
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  size
  def size: Int
  
    - 
     Returns the number of elements in this set.
  - Returns:
- 
  number of set elements.
    
  
  isEmpty
  override def isEmpty: Boolean
  
    - 
     Checks if this set is empty.
  - Returns:
- 
  true, iff there is no element in the set.
     
  
  contains
  def contains(elem: A): Boolean
  
    - 
     Checks if this set contains element elem.
  - Parameters:
- elem- 
  the element to check for membership.
- Returns:
- 
  true, iff elemis contained in this set.
  
  subsetOf
  override def subsetOf(that: Set[A]): Boolean
  
    - 
     Checks if this set is a subset of set that.
  - Parameters:
- that- 
  another set.
- Returns:
- 
  true, iff the other set is a superset of this set.
     
  
  foreach
  override def foreach(f: (A) => Unit): Unit
  
    - 
     Apply a function fto all elements of this
  iterable object.
  - Parameters:
- f- 
  a function that is applied to every element.
  
  exists
  override def exists(p: (A) => Boolean): Boolean
  
    - 
     Apply a predicate pto all elements of this
  iterable object and return true, iff there is at least one
  element for whichpyields true.
  - Parameters:
- p- 
  the predicate
- Returns:
- true, iff the predicate yields true for at least one element.
     
  
  toList
  override def toList: List[A]
  
    - 
     Returns the elements of this set as a list.
  - Returns:
- 
  a list containing all set elements.