You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
327 B
13 lines
327 B
|
|
|
|
/**
|
|
* Prototype interface: Defines the clone method, all "expensive objects" that need to be pool-managed
|
|
* must implement this interface
|
|
*/
|
|
public interface Prototype<T> extends Cloneable {
|
|
/**
|
|
* Create and return a copy of the current object
|
|
* @return Cloned object instance
|
|
*/
|
|
public T clone();
|
|
} |