I have an ArrayList containing Objects, these objects have multiple values.
Now I would like to split up this list in to mulptiple lists depeding on an int value in the objects.
So if for example:
2 Objects have an int with value 1
3 Objects have an int with the value 3
So the arraylist has 5 objects, and I'd like to get:
2 Arraylists, 1 with the first objects en 1 with the second objects (more if there are more different int values)
Sorry if it is confusing..