类 InPool
- java.lang.Object
-
- com.ts.lib.common.InPool
-
public class InPool extends Object
对象池的一个 基础类 ,其他类通过继承此类,可实现继承一个对象池- 作者:
- Li Junchao
-
-
方法详细资料
-
obtain
public InPool obtain()
-
recycle
public void recycle()
-
isRecycled
public boolean isRecycled()
-
removeMessages
public static void removeMessages()
remove 所有在对象池里的 message
-
-