add
Add the next input/output pair. The provided input must be sorted after the previous one according to IntsRef.compareTo. It's also OK to add the same input twice in a row with different outputs, as long as Outputs implements the Outputs.merge method. Note that input is fully consumed after this method is returned (so caller is free to reuse), but output is not. So if your outputs are changeable (eg ByteSequenceOutputs or [ ]) then you cannot reuse across calls.