com.neeve.util
Class UtlPlist.ElementFactory<T>

java.lang.Object
  extended by com.neeve.util.UtlPlist.ElementFactory<T>
All Implemented Interfaces:
UtlPool.Factory<UtlPlist.Element<T>>
Enclosing class:
UtlPlist<T>

public static final class UtlPlist.ElementFactory<T>
extends Object
implements UtlPool.Factory<UtlPlist.Element<T>>

The pool factory for the default element.


Constructor Summary
UtlPlist.ElementFactory()
           
 
Method Summary
 UtlPlist.Element<T> createItem(Object object)
          Create a new item.
 UtlPlist.Element<T>[] createItemArray(int size)
          Create a new item array.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UtlPlist.ElementFactory

public UtlPlist.ElementFactory()
Method Detail

createItem

public final UtlPlist.Element<T> createItem(Object object)
Description copied from interface: UtlPool.Factory
Create a new item.

Specified by:
createItem in interface UtlPool.Factory<UtlPlist.Element<T>>
Parameters:
object - The user object passed into get that resulted in this call to create a new item.

createItemArray

public final UtlPlist.Element<T>[] createItemArray(int size)
Description copied from interface: UtlPool.Factory
Create a new item array.

Specified by:
createItemArray in interface UtlPool.Factory<UtlPlist.Element<T>>


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