1 19 package org.netbeans.test.getters; 20 21 import java.util.Collection ; 22 23 27 public class ArgumentMatches { 28 29 Collection <Employee> employees; 30 31 public Collection <Employee> getEmployees() { 32 return employees; 33 } 34 35 public void setEmployees(Collection <Engineer> employees) { 36 for(Employee e : employees) { 38 this.employees.add(e); 39 } 40 } 41 42 static class Employee { 43 } 44 45 static class Engineer { 46 } 47 } 48 | Popular Tags |