|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteu.esdihumboldt.cst.internal.util.CountingInstanceSink
public class CountingInstanceSink
Instance sink decorator that counts the added instances.
Constructor Summary | |
---|---|
CountingInstanceSink(InstanceSink decoratee)
Create a counting instance sink |
Method Summary | |
---|---|
void |
addInstance(Instance instance)
Adds an instance to the sink |
protected void |
countChanged(int count)
Called when the count has been incremented |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CountingInstanceSink(InstanceSink decoratee)
decoratee
- the internal instance sink to useMethod Detail |
---|
public void addInstance(Instance instance)
InstanceSink
addInstance
in interface InstanceSink
instance
- the instance to addInstanceSink.addInstance(Instance)
protected void countChanged(int count)
count
- the current count
|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |