Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Address address1 = new Address("Rua Zacarias Carlos de Melo", "63700-000");
- Person person1 = new Person(1, "Almada", address1);
- Address address2 = new Address("Rua das Oiticicas", "60700-000");
- Person person2 = new Person(2, "Anderson", address2);
- Address address3 = new Address("Rua das Carnaubas", "60000-000");
- Person person3 = new Person(3, "Francisco", address3);
- List<Person> people = new ArrayList<Person>();
- people.add(person1);
- people.add(person2);
- people.add(person3);
- context.setVariable("people", people);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement