i whould like to know if there is an equivalent in java to this:
List<Person> People = new List<Person>(){
new Person{
FirstName = "John",
LastName = "Doe"
},
new Person{
FirstName = "Someone",
LastName = "Special"
}
};
Assuming, of course... there is a class called Person with FirstName and LastName fields with {get;set;}