edu.ksu.cis.projects.bogor.util
Class ReferenceCounter

java.lang.Object
  extended by edu.ksu.cis.projects.bogor.util.ReferenceCounter

public class ReferenceCounter
extends Object

Synchronized use counter for shared objects.

Version:
CVS $Revision: 1.1 $ $Date: 2004/09/01 06:10:03 $
Author:
Matt Hoosier

Constructor Summary
ReferenceCounter()
           
ReferenceCounter(int initVal)
           
 
Method Summary
 void decrementReferenceCount()
           
 int getReferenceCount()
           
 void incrementReferenceCount()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReferenceCounter

public ReferenceCounter()

ReferenceCounter

public ReferenceCounter(int initVal)
Method Detail

getReferenceCount

public int getReferenceCount()

incrementReferenceCount

public void incrementReferenceCount()

decrementReferenceCount

public void decrementReferenceCount()