of

fun of(vararg pairs: Pair<ReplicaId, Long>): GCounter

A counter with the given per-replica counts (test/seed helper). A zero count is kept as a slot.

Throws

if any count is negative.