將資料放至儲存器

若要將資料放入 Container 物件中,請使用 Container.put() 方法。

若要將資料放入 Container 物件中,請使用 Container.put() 方法。資料可以用位元組陣列或字串的形式來新增至儲存器。例如:
String custNo = "00054321";
byte[] custRecIn = custNo.getBytes();
custRec.put(custRecIn);
或:
custRec.put("00054321");