diff options
author | Aleksandar Pokopec <aleksandar.prokopec@epfl.ch> | 2010-10-20 20:20:05 +0000 |
---|---|---|
committer | Aleksandar Pokopec <aleksandar.prokopec@epfl.ch> | 2010-10-20 20:20:05 +0000 |
commit | b1d9354a08107afab9c15d2ae1b8dded82b5ffef (patch) | |
tree | 19160caa6d792a9019075bcf9eee363126b20b95 | |
parent | a4a65f9c42a17972d5c7af2f1e3249fae5057c6e (diff) | |
download | scala-b1d9354a08107afab9c15d2ae1b8dded82b5ffef.tar.gz scala-b1d9354a08107afab9c15d2ae1b8dded82b5ffef.tar.bz2 scala-b1d9354a08107afab9c15d2ae1b8dded82b5ffef.zip |
Added back a previously publicly available method.
No review
-rw-r--r-- | src/library/scala/collection/mutable/HashTable.scala | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/library/scala/collection/mutable/HashTable.scala b/src/library/scala/collection/mutable/HashTable.scala index 5293e40c06..7aae961a62 100644 --- a/src/library/scala/collection/mutable/HashTable.scala +++ b/src/library/scala/collection/mutable/HashTable.scala @@ -48,6 +48,8 @@ trait HashTable[A, Entry >: Null <: HashEntry[A, Entry]] { */ @transient protected var threshold: Int = initialThreshold(_loadFactor) + protected def initialSize: Int = HashTable.initialSize + /** * Initializes the collection from the input stream. `f` will be called for each key/value pair * read from the input stream in the order determined by the stream. This is useful for |