I
I
Ivasoft2016-02-21 01:15:46
Java
Ivasoft, 2016-02-21 01:15:46

How to split an ArrayList into two?

There is a collection ArrayList , where EntityList is an Entity class with ID, NAME, Surname, Age fields, corresponding getters and setters. How can it be divided into two, that is, into a list of first and last names? And separately collections with age?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question