summaryrefslogtreecommitdiff
path: root/src/library/scala/collection/immutable/BitSet.scala
diff options
context:
space:
mode:
authormichelou <michelou@epfl.ch>2009-09-08 16:24:42 +0000
committermichelou <michelou@epfl.ch>2009-09-08 16:24:42 +0000
commitb06d4eb4ec8921a1d4935bf83ee8ba9c0ad08d18 (patch)
tree57c46bf4138486eb3c944fe4bc212d8e635dfa50 /src/library/scala/collection/immutable/BitSet.scala
parent2619f09ad0a5fc8900fcacc4d704a55b255f52e7 (diff)
downloadscala-b06d4eb4ec8921a1d4935bf83ee8ba9c0ad08d18.tar.gz
scala-b06d4eb4ec8921a1d4935bf83ee8ba9c0ad08d18.tar.bz2
scala-b06d4eb4ec8921a1d4935bf83ee8ba9c0ad08d18.zip
added a few @serializable annotations, added @S...
added a few @serializable annotations, added @SerialVersionUID to anonfuns, several cleanups
Diffstat (limited to 'src/library/scala/collection/immutable/BitSet.scala')
-rw-r--r--src/library/scala/collection/immutable/BitSet.scala6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/library/scala/collection/immutable/BitSet.scala b/src/library/scala/collection/immutable/BitSet.scala
index c645b30b56..bd790b777a 100644
--- a/src/library/scala/collection/immutable/BitSet.scala
+++ b/src/library/scala/collection/immutable/BitSet.scala
@@ -14,8 +14,9 @@ package scala.collection.immutable
import scala.collection.generic._
import BitSetTemplate.{LogWL, updateArray}
-/** a base class for immutable bit sets
+/** A base class for immutable bit sets.
*/
+@serializable @SerialVersionUID(1611436763290191562L)
abstract class BitSet extends Set[Int]
with collection.BitSet
with BitSetTemplate[BitSet] {
@@ -23,7 +24,8 @@ abstract class BitSet extends Set[Int]
def fromArray(elems: Array[Long]): BitSet = BitSet.fromArray(elems)
- /** Update word at index `idx`; enlarge set if `idx` outside range of set
+ /** Update word at index <code>idx</code>; enlarge set if <code>idx</code>
+ * outside range of set.
*/
protected def updateWord(idx: Int, w: Long): BitSet