intmaxSize= PList.size(); if (AList.size() > maxSize) { maxSize = AList.size(); } if (TList.size() > maxSize) { maxSize = TList.size(); } if (eList.size() > maxSize) { maxSize = eList.size(); } if (sList.size() > maxSize) { maxSize = sList.size(); } if (tList.size() > maxSize) { maxSize = tList.size(); } for (inti=0; i < maxSize; i++) {
if (i < PList.size()) { System.out.print(PList.get(i)); } if (i < AList.size()) { System.out.print(AList.get(i)); } if (i < TList.size()) { System.out.print(TList.get(i)); } if (i < eList.size()) { System.out.print(eList.get(i)); } if (i < sList.size()) { System.out.print(sList.get(i)); } if (i < tList.size()) { System.out.print(tList.get(i)); } } }