interface StaticRecycleMethods<T>
abstract fun obtain(): T |
|
abstract fun recycle(obj: T): Unit |
infix fun <A> A.andRecycle(b: <ERROR CLASS>): <ERROR CLASS> infix fun <A> A.andRecycle(b: Recyclable): <ERROR CLASS> |
|
fun <T> T.loopAsLongNotNull(block: (it: T) -> T?): T |
open class Recycler<T> : StaticRecycleMethods<T> |