This week's book giveaways are in the Jython/Python and Object-Oriented programming forums. We're giving away four copies each of Machine Learning for Business: Using Amazon SageMaker and Jupyter and Object Design Style Guide and have the authors on-line! See this thread and this one for details.
I have an array of objects that needs to be filtered. The object structure is like below:
and the array will have 50/60 of such objects in the array like below.
I need to have something like this in order to display it on GUI. Separate out array based on their group name. Since Group names are going to be unique but each group can have multiple choices under it.
So I want to create multiple HashMaps that has key as the Group name and Value as the Name.
how can I achieve this using array functions or I need to have a separate logic to create a hashmap?