From 605dc35ac74b30ae527962d2e3788dc4636d4e2b Mon Sep 17 00:00:00 2001 From: alexpeters1208 Date: Mon, 13 Nov 2023 21:45:21 -0600 Subject: [PATCH] Spotless apply (again) --- .../io/deephaven/api/TableOperations.java | 20 +++++---- .../io/deephaven/api/agg/Aggregation.java | 5 ++- .../io/deephaven/api/agg/spec/AggSpecStd.java | 5 ++- .../io/deephaven/api/agg/spec/AggSpecVar.java | 4 +- .../api/updateby/UpdateByOperation.java | 44 +++++++++---------- 5 files changed, 42 insertions(+), 36 deletions(-) diff --git a/table-api/src/main/java/io/deephaven/api/TableOperations.java b/table-api/src/main/java/io/deephaven/api/TableOperations.java index 97911930c42..c8899973338 100644 --- a/table-api/src/main/java/io/deephaven/api/TableOperations.java +++ b/table-api/src/main/java/io/deephaven/api/TableOperations.java @@ -1169,8 +1169,9 @@ TOPS updateBy(UpdateByControl control, Collection o *

* When the input table is empty, zero output rows are produced. *

- * Sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), - * which ensures that the sample variance will be an unbiased estimator of population variance. + * Sample standard deviation is computed using Bessel's correction + * (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased + * estimator of population variance. */ @ConcurrentMethod TOPS stdBy(); @@ -1179,8 +1180,9 @@ TOPS updateBy(UpdateByControl control, Collection o * Groups the data column according to groupByColumns and computes the sample standard deviation for * the rest of the fields *

- * Sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), - * which ensures that the sample variance will be an unbiased estimator of population variance. + * Sample standard deviation is computed using Bessel's correction + * (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased + * estimator of population variance. * * @param groupByColumns The grouping columns as in {@link TableOperations#groupBy} */ @@ -1191,8 +1193,9 @@ TOPS updateBy(UpdateByControl control, Collection o * Groups the data column according to groupByColumns and computes the sample standard deviation for * the rest of the fields *

- * Sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), - * which ensures that the sample variance will be an unbiased estimator of population variance. + * Sample standard deviation is computed using Bessel's correction + * (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased + * estimator of population variance. * * @param groupByColumns The grouping columns as in {@link TableOperations#groupBy} */ @@ -1203,8 +1206,9 @@ TOPS updateBy(UpdateByControl control, Collection o * Groups the data column according to groupByColumns and computes the sample standard deviation for * the rest of the fields *

- * Sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), - * which ensures that the sample variance will be an unbiased estimator of population variance. + * Sample standard deviation is computed using Bessel's correction + * (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased + * estimator of population variance. * * @param groupByColumns The grouping columns as in {@link TableOperations#groupBy} */ diff --git a/table-api/src/main/java/io/deephaven/api/agg/Aggregation.java b/table-api/src/main/java/io/deephaven/api/agg/Aggregation.java index bb6832bdb6d..23d249e05dc 100644 --- a/table-api/src/main/java/io/deephaven/api/agg/Aggregation.java +++ b/table-api/src/main/java/io/deephaven/api/agg/Aggregation.java @@ -525,8 +525,9 @@ static Aggregation AggSortedLast(Collection sortColumns, Strin * Create a {@link io.deephaven.api.agg.spec.AggSpecStd sample standard deviation} aggregation for the supplied * column name pairs. * - * Sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), - * which ensures that the sample variance will be an unbiased estimator of population variance. + * Sample standard deviation is computed using Bessel's correction + * (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased + * estimator of population variance. * * @param pairs The input/output column name pairs * @return The aggregation diff --git a/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecStd.java b/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecStd.java index 9acb9f83876..2e7513bb666 100644 --- a/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecStd.java +++ b/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecStd.java @@ -11,8 +11,9 @@ * Specifies an aggregation that outputs the sample standard deviation of the input column values for each group. Only * works for numeric input types. * - * Sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), - * which ensures that the sample variance will be an unbiased estimator of population variance. + * Sample standard deviation is computed using Bessel's correction + * (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased + * estimator of population variance. * * @see TableOperations#stdBy */ diff --git a/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecVar.java b/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecVar.java index 232c5980e54..b86e5fa3eeb 100644 --- a/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecVar.java +++ b/table-api/src/main/java/io/deephaven/api/agg/spec/AggSpecVar.java @@ -11,8 +11,8 @@ * Specifies an aggregation that outputs the sample variance of the input column values for each group. Only works for * numeric input types. * - * Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), - * which ensures that the sample variance will be an unbiased estimator of population variance. + * Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which + * ensures that the sample variance will be an unbiased estimator of population variance. * * @see TableOperations#varBy */ diff --git a/table-api/src/main/java/io/deephaven/api/updateby/UpdateByOperation.java b/table-api/src/main/java/io/deephaven/api/updateby/UpdateByOperation.java index 1ed54701f62..745b85734cb 100644 --- a/table-api/src/main/java/io/deephaven/api/updateby/UpdateByOperation.java +++ b/table-api/src/main/java/io/deephaven/api/updateby/UpdateByOperation.java @@ -1621,10 +1621,10 @@ static UpdateByOperation RollingCount(String timestampCol, long revTime, long fw /** * Create a {@link RollingStdSpec rolling sample standard deviation} for the supplied column name pairs, using ticks - * as the windowing unit. Ticks are row counts and you may specify the previous window in number of rows - * to include. The current row is considered to belong to the reverse window, so calling this with - * {@code revTicks = 1} will simply return the current row. Specifying {@code revTicks = 10} will include the - * previous 9 rows to this one and this row for a total of 10 rows. + * as the windowing unit. Ticks are row counts and you may specify the previous window in number of rows to include. + * The current row is considered to belong to the reverse window, so calling this with {@code revTicks = 1} will + * simply return the current row. Specifying {@code revTicks = 10} will include the previous 9 rows to this one and + * this row for a total of 10 rows. * * Sample standard deviation is computed using Bessel's correction * (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased @@ -1640,10 +1640,10 @@ static UpdateByOperation RollingStd(long revTicks, String... pairs) { /** * Create a {@link RollingStdSpec rolling sample standard deviation} for the supplied column name pairs, using ticks - * as the windowing unit. Ticks are row counts and you may specify the reverse and forward window in - * number of rows to include. The current row is considered to belong to the reverse window but not the forward - * window. Also, negative values are allowed and can be used to generate completely forward or completely reverse - * windows. Here are some examples of window values: + * as the windowing unit. Ticks are row counts and you may specify the reverse and forward window in number of rows + * to include. The current row is considered to belong to the reverse window but not the forward window. Also, + * negative values are allowed and can be used to generate completely forward or completely reverse windows. Here + * are some examples of window values: *