/* __ *\ ** ________ ___ / / ___ Scala API ** ** / __/ __// _ | / / / _ | (c) 2003-2009, LAMP/EPFL ** ** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** ** /____/\___/_/ |_/____/_/ | | ** ** |/ ** \* */ // $Id: BitSet.scala 17728 2009-05-14 09:36:49Z odersky $ package scala.collection import generic._ /** common base class for mutable and immutable bit sets */ trait BitSet extends Set[Int] with BitSetTemplate[BitSet] { override def empty: BitSet = BitSet.empty } /** A factory object for bitsets */ object BitSet extends BitSetFactory[BitSet] { val empty: BitSet = immutable.BitSet.empty }