net.groboclown.util.datastruct.v1.tests
Class TestObjectCache.OCreator

java.lang.Object
  |
  +--net.groboclown.util.datastruct.v1.tests.TestObjectCache.OCreator
All Implemented Interfaces:
ObjectCache.ObjectCreator
Enclosing class:
TestObjectCache

public class TestObjectCache.OCreator
extends Object
implements ObjectCache.ObjectCreator


Field Summary
private  int count
           
 
Constructor Summary
TestObjectCache.OCreator()
           
 
Method Summary
 Object createObject()
          Called when a new object needs to be created.
 int getCreationCount()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

count

private int count
Constructor Detail

TestObjectCache.OCreator

public TestObjectCache.OCreator()
Method Detail

createObject

public Object createObject()
Description copied from interface: ObjectCache.ObjectCreator
Called when a new object needs to be created.
Specified by:
createObject in interface ObjectCache.ObjectCreator

getCreationCount

public int getCreationCount()


Written under the LGPL