|
Scala 2.4.0-RC1
|
abstract
trait
FlatHashTable
[A]
extends
java.lang.Object
with
scala.ScalaObject
Var Summary | |
protected
|
var
table
: scala.Array[java.lang.Object]
The actual hash table. |
protected
|
var
tableSize
: scala.Int
The number of mappings contained in this hash table. |
protected
|
var
threshold
: scala.Int
The next size value at which to resize (capacity load factor). |
Def Summary | |
def
addEntry
(elem: A)
: scala.Unit
|
|
protected
|
def
clear
: scala.Unit
|
def
containsEntry
(elem: A)
: scala.Boolean
|
|
protected
|
def
elemHashCode
(elem: A)
: scala.Int
|
def
elements
: scala.Iterator[A]
|
|
def
findEntry
(elem: A)
: scala.Option[A]
|
|
final protected
|
def
improve
(hcode: scala.Int)
: scala.Int
|
final protected
|
def
index
(hcode: scala.Int)
: scala.Int
|
protected
|
def
initialSize
: scala.Int
The initial size of the hash table. |
protected
|
def
loadFactor
: scala.Float
The load factor for the hash table; must be < 0.5f |
def
removeEntry
(elem: A)
: scala.Unit
|
|
def
size
: scala.Int
Returns the number of entires in this hash table. |
Var Detail |
protected
var
table
: scala.Array[java.lang.Object]
protected
var
tableSize
: scala.Int
protected
var
threshold
: scala.Int
Def Detail |
def
addEntry
(elem: A): scala.Unit
protected
def
clear
: scala.Unit
def
containsEntry
(elem: A): scala.Boolean
def
elements
: scala.Iterator[A]
def
findEntry
(elem: A): scala.Option[A]
protected
def
initialSize
: scala.Int
protected
def
loadFactor
: scala.Float
def
removeEntry
(elem: A): scala.Unit
def
size
: scala.Int