hash_array class