for (Iterator i = cubeD.iterator(); i.hasNext();) {
for (Iterator i = cubeB.iterator(); i.hasNext();) {
    private void processBD(BufferedReader br, Set qTypes,                            HasBioAssays.BioAssays_list cubeB,                            List cubeD, List cubeQ, Item item)        throws Exception {        boolean storeTuple = false;        ReferenceList tupleList = new ReferenceList("bioAssayTupleData");         QuantitationType qt = (QuantitationType) cubeQ.get(0);          if (qTypes.contains(qt.getName().toLowerCase())) {                                   for (Iterator i = cubeD.iterator(); i.hasNext();) {                BioAssay ba = (BioAssay) i.next();                String s = br.readLine();                if (s != null) {                    StringTokenizer st = new StringTokenizer(s, "\t");                    for (Iterator j = cubeQ.iterator(); j.hasNext(); ) {                        DesignElement de = (DesignElement) j.next();                        String value = st.nextToken();                                                            Item datum = makeBioAssayDatum(value, de, ba, qt);                         storeItem(datum);                           storeTuple = true;                           tupleList.addRefId(datum.getIdentifier());                                         }                }            }        }                processTuples(storeTuple, tupleList, item);    }