final int rowCount = positions.size();
final GenericObjectTable result = new GenericObjectTable(Math.max(1, rowCount), 5);
for (int r = 0; r < rowCount; r++)
{
final Position position = positions.get(r);
Member member = null;
final int colCount = position.size();
for (int c = 0; c < colCount; c++)
{
member = position.get(c);
result.setObject(r, c, member.getName());
}
if (member != null)
{
result.setObject(r, colCount, member.getHierarchy().getName());