DissectableArea area = group.getDissectableArea();
Shard shard = selectedShards.getShard(area);
// Get the shard link details from the group.
int i;
for (i = 0; i < count; i += 1) {
ShardLink link = group.getShardLink(i);
ShardLinkDetails details = link.getDetails(shard);
detailsArray[i] = details;
}
// Make sure that the rest of the array is empty.
for (; i < detailsArray.length; i += 1) {