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
|
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
count
private int count
TestObjectCache.OCreator
public TestObjectCache.OCreator()
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