com.neeve.util
Interface UtlPool.Factory<T extends UtlPool.Item<T>>

All Known Implementing Classes:
MessageMetadataFactory, UtlPlist.ElementFactory
Enclosing class:
UtlPool<T extends UtlPool.Item<T>>

public static interface UtlPool.Factory<T extends UtlPool.Item<T>>

Defines the factory used by the pool to create new objects


Method Summary
 T createItem(Object object)
          Create a new item.
 T[] createItemArray(int size)
          Create a new item array.
 

Method Detail

createItem

T createItem(Object object)
Create a new item.

Parameters:
object - The user object passed into get that resulted in this call to create a new item.

createItemArray

T[] createItemArray(int size)
Create a new item array.



Copyright © 2016 Neeve Research, LLC. All Rights Reserved.