String possible = "possible block sub types: [";
List<BlockSubType> possibleSubTypes = frameCountMap.get(numFrames);
if (possibleSubTypes != null) {
Iterator<BlockSubType> it = possibleSubTypes.iterator();
while (it.hasNext()) {
BlockSubType bst = it.next();
possible += bst.getName();
if (it.hasNext()) {
possible += ", ";
}
}
possible += "]";