Let's say I have a long list of names and each name is a map (firstName, middleName, lastName). Now I want a list of firstName. I know how to build the list the hard way by going through each item. I'm wondering whether there is any trick, an easier way, to achieve that.
Let's say I have a long list of names and each name is a map (firstName, middleName, lastName). Now I want a list of firstName. I know how to build the list the hard way by going through each item. I'm wondering whether there is any trick, an easier way, to achieve that.
Maybe you want to use a database (SQLite is a good choice). Lists/Maps are good for data-transportation or a small amout of entries. With a db you can retrieve the data very fast and only the data you need at that moment.
Maybe you want to use a database (SQLite is a good choice). Lists/Maps are good for data-transportation or a small amout of entries. With a db you can retrieve the data very fast and only the data you need at that moment.