johnfn
01/11/2020, 11:50 PMif (!batches.containsKey(key)) {
batches[key] = emptyValue;
}
batches[key].add(entity);
Ruckus
01/11/2020, 11:52 PMbatches.getOrPut(key) { emptyValue }.add(entity)
johnfn
01/11/2020, 11:52 PMjohnfn
01/11/2020, 11:52 PM