counter
Class CounterFactory

java.lang.Object
  extended by counter.CounterFactory
All Implemented Interfaces:
ICounterFactory

public class CounterFactory
extends java.lang.Object
implements ICounterFactory


Nested Class Summary
private static class CounterFactory.ACounterState
           
 
Field Summary
static CounterFactory Singleton
           
 
Constructor Summary
private CounterFactory()
           
 
Method Summary
 ICounter makeCounter(int aCount)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Singleton

public static final CounterFactory Singleton
Constructor Detail

CounterFactory

private CounterFactory()
Method Detail

makeCounter

public ICounter makeCounter(int aCount)
Specified by:
makeCounter in interface ICounterFactory