Dunstabzugshaubitze@feddit.orgtoProgramming@programming.dev•Looking for a way to search a dictionary using English and Devanagari script?
2·
10 days agosounds like you want a MultiKeyMap and a way to store the data from which you build the map, so i’d suggest to look up that data structure. incremental search could than be implemented by filtering on the key sets or subsets of it.
there is no “undefined” in java. this would either be a map containing the key value pair (“name”, null) or it would be mapped to an object of some class with an attribute “name” which can hold a null value. in any case {} wont equal {“name”:null}.