}
for (Iterator it = bucketMap.entryIterator(); it.hasNext();)
{
Map.Entry entry = (Map.Entry) it.next();
Bucket bucketValue = (Bucket) entry.getKey();
boolean totalBucket = bucketValue.isTotal();
boolean createHeader = !totalBucket || total || totalPosition != CrosstabTotalPositionEnum.NONE;
if (createHeader)
{
CollectedList nextHeaders;