mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-15 12:59:00 +00:00
15 lines
209 B
Java
15 lines
209 B
Java
package com.iluwatar.object.pool;
|
|
|
|
/**
|
|
*
|
|
* Oliphaunt object pool
|
|
*
|
|
*/
|
|
public class OliphauntPool extends ObjectPool<Oliphaunt> {
|
|
|
|
@Override
|
|
protected Oliphaunt create() {
|
|
return new Oliphaunt();
|
|
}
|
|
}
|