org.locomotive.util
Class ObjectPool.PoolEntry

java.lang.Object
  |
  +--org.locomotive.util.ObjectPool.PoolEntry
Enclosing class:
ObjectPool

public class ObjectPool.PoolEntry
extends java.lang.Object

The internal class to use as our Object entry.


Field Summary
 int id
           
 java.lang.Object object
           
 boolean usable
           
 int usage_count
           
 
Constructor Summary
ObjectPool.PoolEntry(java.lang.Object o)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

object

public java.lang.Object object

id

public int id

usage_count

public int usage_count

usable

public boolean usable
Constructor Detail

ObjectPool.PoolEntry

public ObjectPool.PoolEntry(java.lang.Object o)