/**
* Consumer for counting items in a given range.
*/
public class CountRangeConsumer
{
//
// any data members that allow the consumer to remember and
// keep track of the relevant information to do its work
//
public CountRangeConsumer( the-a, the-b, the-comp )
{
// constructs a consumer with the given
// range values [a,b] and the comparator
// that was used to build the tree
}
}