There is a List objects of the class Person
public class Person { String name1; String name2; String name3; String birthdate; String address; } How to get another from this List , but with some fields, for example, name1 , name2 and address ... Preferably, using the Stream API .