|
J avolution v3.7 (J2SE 1.5+) | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavolution.realtime.ObjectFactory<T>
javolution.realtime.RealtimeObject.Factory<T>
public abstract static class RealtimeObject.Factory<T extends RealtimeObject>
This abstract class represents the factory responsible for the
creation of RealtimeObject instances.
| Constructor Summary | |
|---|---|
protected |
RealtimeObject.Factory()
Default constructor. |
| Method Summary | |
|---|---|
protected ObjectPool<T> |
newPool()
Returns a new local pool for this object factory. |
T |
object()
Returns a new or recycled object from this factory. |
| Methods inherited from class javolution.realtime.ObjectFactory |
|---|
cleanup, create, currentPool, heapPool |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected RealtimeObject.Factory()
| Method Detail |
|---|
public final T object()
object in class ObjectFactory<T extends RealtimeObject>protected ObjectPool<T> newPool()
ObjectFactory
newPool in class ObjectFactory<T extends RealtimeObject>
|
J avolution v3.7 (J2SE 1.5+) | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||