KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > snaq > util > Reusable


1 package snaq.util;
2
3 /**
4  * Interface for an object that can be reused.
5  * @see snaq.util.ObjectPool
6  * @author Giles Winstanley
7  */

8 public interface Reusable
9 {
10     /**
11      * Cleans an object to put it in a state in which it can be reused.
12      * @throws Exception if unable to recycle the this object
13      */

14     public void recycle() throws Exception JavaDoc;
15 }
Popular Tags