org.maltparser.core.pool
Class ObjectPoolList<T>
java.lang.Object
   org.maltparser.core.pool.ObjectPool<T>
org.maltparser.core.pool.ObjectPool<T>
       org.maltparser.core.pool.ObjectPoolList<T>
org.maltparser.core.pool.ObjectPoolList<T>
- public abstract class ObjectPoolList<T> 
- extends ObjectPool<T>
 
 
 
 
 
 
ObjectPoolList
public ObjectPoolList()
ObjectPoolList
public ObjectPoolList(int keepThreshold)
create
protected abstract T create()
                     throws MaltChainedException
- 
- Specified by:
- createin class- ObjectPool<T>
 
- 
- Throws:
- MaltChainedException
 
resetObject
public abstract void resetObject(T o)
                          throws MaltChainedException
- 
- Specified by:
- resetObjectin class- ObjectPool<T>
 
- 
- Throws:
- MaltChainedException
 
checkOut
public T checkOut()
           throws MaltChainedException
- 
- Specified by:
- checkOutin class- ObjectPool<T>
 
- 
- Throws:
- MaltChainedException
 
checkIn
public void checkIn(T o)
             throws MaltChainedException
- 
- Specified by:
- checkInin class- ObjectPool<T>
 
- 
- Throws:
- MaltChainedException
 
checkInAll
public void checkInAll()
                throws MaltChainedException
- 
- Specified by:
- checkInAllin class- ObjectPool<T>
 
- 
- Throws:
- MaltChainedException
 
getCurrentSize
public int getCurrentSize()
- 
 
setCurrentSize
public void setCurrentSize(int currentSize)
- 
 
size
public int size()
- 
 
toString
public String toString()
- 
- Overrides:
- toStringin class- Object
 
- 
 
Copyright 2007-2010 Johan Hall, Jens Nilsson and Joakim Nivre.