ArraySequence as = (ArraySequence) data;
as.getStructureDataCount();
System.out.printf(" count = %d%n", as.getStructureDataCount());
int count = 0;
StructureDataIterator iter = as.getStructureDataIterator();
while (iter.hasNext()) {
StructureData sdata = iter.next();
count++;
}
System.out.printf(" count = %d%n", count);
int count2 = 0;
StructureDataIterator iter2 = record.getStructureIterator();
while (iter2.hasNext()) {
StructureData sdata = iter2.next();
count2++;
}
System.out.printf(" count2 = %d%n", count2);
assert count2 == count;