custom realization hashmap on D language