public void putPatch(Patch bank, Patch p, int patchNum) { Patch pInsert = new Patch(p.sysex);
public void putPatch(IPatch bank, IPatch p, int patchNum) { Patch pInsert = new Patch(((Patch)p).sysex);
  public void putPatch(Patch bank, Patch p, int patchNum) {    Patch pInsert = new Patch(p.sysex);    RolandXV5080PerfDriver singleDriver = (RolandXV5080PerfDriver)pInsert.getDriver();    singleDriver.updatePatchNum(pInsert, patchNum);    singleDriver.calculateChecksum(pInsert);    bank.sysex = Utility.byteArrayReplace(      bank.sysex, RolandXV5080PerfDriver.PATCH_SIZE * patchNum, RolandXV5080PerfDriver.PATCH_SIZE,      pInsert.sysex, 0, RolandXV5080PerfDriver.PATCH_SIZE);  }