@@ -0,0 +1,315 @@
+package com.github.itsubaki.eventflow.pool;%0A%0Apublic class PooledObject%3CT%3E %7B%0A%09private T object;%0A%09private ObjectPool%3CT%3E pool;%0A%0A%09public PooledObject(T object, ObjectPool%3CT%3E pool) %7B%0A%09%09this.object = object;%0A%09%09this.pool = pool;%0A%09%7D%0A%0A%09public T get() %7B%0A%09%09return object;%0A%09%7D%0A%0A%09public void close() %7B%0A%09%09pool.close(object);%0A%09%7D%0A%7D%0A

Add PooledObject