edu.berkeley.guir.lib.satin
Class SatinConstants.ObjectPoolAffineTransform
java.lang.Object
|
+--edu.berkeley.guir.lib.collection.ObjectPool
|
+--edu.berkeley.guir.lib.satin.SatinConstants.ObjectPoolAffineTransform
- Enclosing class:
- SatinConstants
- public static final class SatinConstants.ObjectPoolAffineTransform
- extends ObjectPool
Object pool of AffineTransform objects.
Methods inherited from class edu.berkeley.guir.lib.collection.ObjectPool |
allocatingObjectPool, getAvailable, getCapacity, isFree, isTaken, main, ownsObject, printDebugStacks, reinitialize, releaseObject, reset, synchronizedObjectPool, toString |
SatinConstants.ObjectPoolAffineTransform
public SatinConstants.ObjectPoolAffineTransform()
createObject
public Object createObject()
- Description copied from class:
ObjectPool
- Override this method so that it creates the Object you want in the pool.
- Overrides:
createObject
in class ObjectPool
getObject
public Object getObject()
- Description copied from class:
ObjectPool
- Get an object.
Usage Notes:
- It is generally a good idea to override this method
and to re-initialize the object before returning it.
Also, be sure not to assign the reference that you get!!!
If you do, then you cannot release the object (and will get
memory leaks).
- Overrides:
getObject
in class ObjectPool
- Following copied from class:
edu.berkeley.guir.lib.collection.ObjectPool
- Throws:
EmptyException
- (a RuntimeException) if empty.