c.put("averageticks", price1); coll.add(c); final Stream<Context> stream = new CollectionStream<Context>(coll); stream.transform(new StockPriceAggregator(0.0001)).forEach( new Operation<Context>() {
c.put("averageticks", price1); coll.add(c); final Stream<Context> stream = new CollectionStream<Context>(coll); stream.transform(new StockPriceAggregator(0.0001)).forEach( new Operation<Context>() {