JADE v6.1

com.dautelle.math.numbers
Class RealtimeNumber.Factory

java.lang.Object
  extended bycom.dautelle.realtime.ObjectFactory
      extended bycom.dautelle.math.numbers.RealtimeNumber.Factory
Direct Known Subclasses:
Quantity.Factory
Enclosing class:
RealtimeNumber

protected abstract static class RealtimeNumber.Factory
extends ObjectFactory

This abstract class represents the factory responsible for the creation of RealtimeNumber instances.


Field Summary
 
Fields inherited from class com.dautelle.realtime.ObjectFactory
MAX
 
Constructor Summary
protected RealtimeNumber.Factory()
          Default constructor.
 
Method Summary
protected  ObjectPool newPool()
          Creates a new pool for this object factory.
 java.lang.Object object()
          Returns a new or recycled object from this factory.
 
Methods inherited from class com.dautelle.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

RealtimeNumber.Factory

protected RealtimeNumber.Factory()
Default constructor.

Method Detail

object

public final java.lang.Object object()
Returns a new or recycled object from this factory.

Overrides:
object in class ObjectFactory
Returns:
an object from the local stack or from the heap if not executing in a pool context.

newPool

protected ObjectPool newPool()
Description copied from class: ObjectFactory
Creates a new pool for this object factory. Sub-classes may override this method in order to use custom pools.

Overrides:
newPool in class ObjectFactory
Returns:
a default implementation for ObjectPool.

JADE v6.1

Copyright © 2004 Jean-Marie Dautelle.