WEB开发网
开发学院软件开发Java Java线程:深入ThreadLocal 阅读

Java线程:深入ThreadLocal

 2010-01-22 00:00:00 来源:WEB开发网   
核心提示: packagecom.lavasoft.test2;/***测试Bean**@authorleizhimin2010-1-514:18:26*/publicclassBean{privateStringid="0";privateStringname="none&q

package com.lavasoft.test2; 
/** 
* 测试Bean 
* 
* @author leizhimin 2010-1-5 14:18:26 
*/ 
public class Bean { 
        private String id = "0"; 
        private String name = "none"; 
        public Bean() { 
        } 
        public Bean(String id, String name) { 
                this.id = id; 
                this.name = name; 
        } 
        public String getId() { 
                return id; 
        } 
        public void setId(String id) { 
                this.id = id; 
        } 
        public String getName() { 
                return name; 
        } 
        public void setName(String name) { 
                this.name = name; 
        } 
        public String showinfo() { 
                return "Bean{" + 
                                "id='" + id + '\'' + 
                                ", name='" + name + '\'' + 
                                '}'; 
        } 
}

上一页  1 2 3 4 5 6 7  下一页

Tags:Java 线程 深入

编辑录入:爽爽 [复制链接] [打 印]
赞助商链接