list item regist given kei return item regist kei subkei pair regist just primari kei param kei param subkei collect item previous regist collect match kei subkei list result arrai list map list entri registri kei entri entri contain kei subkei result add entri subkei entri contain kei result add entri result 