这里有一些细节::
这是我的代码
public void transferRecord(recordID) {
ArrayList<Records> arrayList;
Set<Character> keySet = ht.keySet();
try {
for(Character c : keySet) {
arrayList = ht.get(c);
System.out.println ("Arraylist after taking input from ht"
+ arrayList);
for (int i = 0; i < arrayList.size(); i++) {
System.out.println("Just before entering equla"
+ arrayList.get(i).getRecordID());
System.out.println("recordID to be transferred:" + recordID);
if ((arrayList.get(i).getRecordID()).equals(recordID)) {
.......
try ends later after some operations