Package org.robovm.compiler.hash
Class HashTableGenerator<K,V extends Constant>
java.lang.Object
org.robovm.compiler.hash.HashTableGenerator<K,V>
public class HashTableGenerator<K,V extends Constant> extends Object
Generates static hash tables in the form of a
StructureConstant using
a HashFunction.-
Constructor Summary
Constructors Constructor Description HashTableGenerator(HashFunction<K> function)HashTableGenerator(HashFunction<K> function, int tableSize)HashTableGenerator(HashFunction<K> function, int tableSize, double loadFactor) -
Method Summary
Modifier and Type Method Description StructureConstantgenerate()voidput(K k, V v)
-
Constructor Details
-
HashTableGenerator
-
HashTableGenerator
-
HashTableGenerator
-
-
Method Details
-
put
-
generate
-