AnonymousMutableDenseHashTable.Options

public static class AnonymousMutableDenseHashTable.Options

Optional attributes for AnonymousMutableDenseHashTable

Public Methods

AnonymousMutableDenseHashTable.Options
initialNumBuckets(Long initialNumBuckets)
AnonymousMutableDenseHashTable.Options
maxLoadFactor(Float maxLoadFactor)
AnonymousMutableDenseHashTable.Options
valueShape(Shape valueShape)

Inherited Methods

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.