大名鼎鼎的java动态脚本语言。已经通过了sun的认证

源代码在线查看: outeruser.java

软件大小: 1630 K
上传用户: hjf
关键词: java sun 动态 脚本
下载地址: 免注册下载 普通下载 VIP

相关代码

				package groovy;								/**				 * Sample class used for testing that groovy can call inner classes contructors.				 * 				 * @author Guillaume Laforge				 * 				 * @cvs.revision $Revision: 1.3 $				 */				public class OuterUser				{				    private String name;				    private Integer age;								    public String getName() {				        return name;				    }								    public void setName(String name) {				        this.name = name;				    }								    public Integer getAge() {				        return age;				    }								    public void setAge(Integer age) {				        this.age = age;				    }								    public static class InnerAddress				    {				        private String city;				        private Integer zipcode;								        public String getCity() {				            return city;				        }								        public void setCity(String city) {				            this.city = city;				        }								        public Integer getZipcode() {				            return zipcode;				        }								        public void setZipcode(Integer zipcode) {				            this.zipcode = zipcode;				        }								        public static class Street				        {				            private String name;				            private int number;								            public String getName() {				                return name;				            }								            public void setName(String name) {				                this.name = name;				            }								            public int getNumber() {				                return number;				            }								            public void setNumber(int number) {				                this.number = number;				            }				        }				    }				}							

相关资源