Skip to content

Method that outputs contents of Table and TableRow objects into the console #4396

Description

@Niels-NTG

As someone who does many data driven projects I make a lot of use of the Processing Table object. But debugging a Table is always a very awkward exercice. Each time I have to write little helper methods like these:

println(table.getColumnTitles());
for (TableRow row : table.rows()) {
    for (int i = 0; i < row.getColumnCount(); ++i) {
        print(row.getString(i) + " ");
    }
    println();
}

… to get a sense of what's happening to my data.

It would be very nice if Processing Tables and TableRows had a build-in method that outputs the contents of these objects as a nicely formatted string or console output.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions