From 8ff9f1f716cfcb114dd4dff9f1af77bc5116e328 Mon Sep 17 00:00:00 2001 From: Scott Murray Date: Thu, 30 May 2013 15:40:25 -0700 Subject: [PATCH] Added reference examples for Table findRows() and matchRows(), clarifications --- core/src/processing/data/Table.java | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/core/src/processing/data/Table.java b/core/src/processing/data/Table.java index 445c0e0db..68978662d 100644 --- a/core/src/processing/data/Table.java +++ b/core/src/processing/data/Table.java @@ -2990,6 +2990,12 @@ public class Table { } + /** + * @webref table:method + * @brief Finds multiple rows that contain the given value + * @param value the value to match + * @param column ID number of the column to search + */ public Iterable findRows(final String value, final int column) { return new Iterable() { public Iterator iterator() { @@ -2999,13 +3005,15 @@ public class Table { } + /** + * @param columnName title of the column to search + */ public Iterable findRows(final String value, final String columnName) { return findRows(value, getColumnIndex(columnName)); } /** - * @webref table:method * @brief Finds multiple rows that contain the given value * @param value the value to match * @param column ID number of the column to search @@ -3129,6 +3137,12 @@ public class Table { } + /** + * @webref table:method + * @brief Finds multiple rows that match the given expression + * @param value the regular expression to match + * @param column ID number of the column to search + */ public Iterable matchRows(final String value, final int column) { return new Iterable() { public Iterator iterator() { @@ -3138,6 +3152,9 @@ public class Table { } + /** + * @param columnName title of the column to search + */ public Iterable matchRows(String value, String columnName) { return matchRows(value, getColumnIndex(columnName)); }