/* * CountData.java * * Created on 2006年10月18日, 下午4:44 * * To change this template, choose Tools Options and locate the template under * the Source Creation and Management node. Right-click the template and choose * Open. You can then make changes to the template in the Source Editor. */
package com.tot.count;
/** * * @author http://www.tot.name */ public class CountBean { private String countType; int countId; /** Creates a new instance of CountData */ public CountBean() {} public void setCountType(String countTypes){ this.countType=countTypes; } public void setCountId(int countIds){ this.countId=countIds; } public String getCountType(){ return countType; } public int getCountId(){ return countId; } }
CountCache.java
/* * CountCache.java * * Created on 2006年10月18日, 下午5:01 * * To change this template, choose Tools Options and locate the template under * the Source Creation and Management node. Right-click the template and choose * Open. You can then make changes to the template in the Source Editor. */
package com.tot.count; import java.util.*; /** * * @author http://www.tot.name */ public class CountCache { public static LinkedList list=new LinkedList(); /** Creates a new instance of CountCache */ public CountCache() {} public static void add(CountBean cb){ if(cb!=null){ list.add(cb); } } }
CountControl.java
/* * CountThread.java * * Created on 2006年10月18日, 下午4:57 * * To change this template, choose Tools Options and locate the template under * the Source Creation and Management node. Right-click the template and choose