continue;
}
TreeMap productMap = (TreeMap)products.get(productId);
SortedMap subsetMap = productMap.headMap(requiredByDate);
// iterate and 'reserve'
Iterator subsetMapKeysIt = subsetMap.keySet().iterator();
while (subsetMapKeysIt.hasNext()) {
Timestamp currentDate = (Timestamp)subsetMapKeysIt.next();
Map currentDateMap = (Map) subsetMap.get(currentDate);
//List reservations = (List)currentDateMap.get("reservations");
BigDecimal remainingQty = (BigDecimal)currentDateMap.get("remainingQty");