AnonymousMutableDenseHashTable.Options

public static class AnonymousMutableDenseHashTable.Options

Optional attributes for AnonymousMutableDenseHashTable

Public Methods

Inherited Methods

boolean
equals(Object arg0)
final Class<?>
getClass()
int
hashCode()
final void
notify()
final void
notifyAll()
String
toString()
final void
wait(long arg0, int arg1)
final void
wait(long arg0)
final void
wait()

Public Methods

public AnonymousMutableDenseHashTable.Options initialNumBuckets (Long initialNumBuckets)

Parameters
initialNumBuckets The initial number of hash table buckets. Must be a power to 2.

public AnonymousMutableDenseHashTable.Options maxLoadFactor (Float maxLoadFactor)

Parameters
maxLoadFactor The maximum ratio between number of entries and number of buckets before growing the table. Must be between 0 and 1.

public AnonymousMutableDenseHashTable.Options valueShape (Shape valueShape)

Parameters
valueShape The shape of each value.