class CachedGroupBy extends AbstractIndex<C> {

    public T get(G g) {
        return cachedAggregation.getOrDefault(g, emptyAggregation);
    }

      CachedGroupBy(Function<? super C, G> groupByExtractor, Collector<? super C, ?, T> collector);

}