LibRCG  3.1.1
SHashMap Struct Reference

Hash table structure. More...

Data Fields

int(* hash )(void *)
 Hash function of this hash table. More...
 
int(* equals )(void *, void *)
 Comparison function of this hash table. More...
 
int size
 Number of elements of this hash table. More...
 
int length
 Number of buckets of this hash table. More...
 
float factor
 Load factor. More...
 
HashNodeelems
 Buckets of this hash table. More...
 

Detailed Description

Hash table structure.

Definition at line 82 of file hashmap.h.

Field Documentation

HashNode* elems

Buckets of this hash table.

Definition at line 95 of file hashmap.h.

int(* equals)(void *, void *)

Comparison function of this hash table.

Definition at line 87 of file hashmap.h.

float factor

Load factor.

Definition at line 93 of file hashmap.h.

int(* hash)(void *)

Hash function of this hash table.

Definition at line 85 of file hashmap.h.

int length

Number of buckets of this hash table.

Definition at line 91 of file hashmap.h.

int size

Number of elements of this hash table.

Definition at line 89 of file hashmap.h.

LibRCG © 2004-2015   Rui Carlos Gonçalves