org.xshare.base.counter
Interface BaseCounter

All Known Subinterfaces:
DynamicCounter, StaticCounter

public interface BaseCounter

Version:
$Revision: 1.2 $
Author:
Oliver Fischer

Method Summary
 int getResultFor(java.lang.Object pKey)
           
 java.util.Iterator getResultKeys()
           
 boolean hasResultFor(java.lang.Object pKey)
           
 void passThrough(java.util.Iterator pIterator)
           
 void passThrough(java.lang.Object pVictim)
           
 void reset()
           
 

Method Detail

passThrough

public void passThrough(java.lang.Object pVictim)

passThrough

public void passThrough(java.util.Iterator pIterator)

hasResultFor

public boolean hasResultFor(java.lang.Object pKey)

getResultFor

public int getResultFor(java.lang.Object pKey)
                 throws java.util.NoSuchElementException
java.util.NoSuchElementException

getResultKeys

public java.util.Iterator getResultKeys()

reset

public void reset()


jKiska Base 0.10 [http://jkiska.sourceforge.net]