Will the following code work in Crunch?

---
private SomeMutableObject smo;

public void process(Integer input, Emitter<SomeMutableObject> emitter) {
  smo.mutate(input);
  emitter.emit(smo);
}
---

i.e. will the object be written/copied when emit is called is called so
that changes to it in a later call of the process function won't change
what was emitted in an earlier one?


thanks for any help!
Sandy

Reply via email to