This aggregator operation computes the minimum of tuples by the given inputFieldName and it is assumed that its value is an instance of Comparable. If the value of tuple with field inputFieldName is not an instance of Comparable then it throws {@code ClassCastExceptio
(String inputFieldName)
| 518 | * @return the new stream with this operation. |
| 519 | */ |
| 520 | public Stream minBy(String inputFieldName) { |
| 521 | Aggregator<ComparisonAggregator.State> min = new Min(inputFieldName); |
| 522 | return comparableAggregateStream(inputFieldName, min); |
| 523 | } |
| 524 | |
| 525 | /** |
| 526 | * This aggregator operation computes the minimum of tuples by the given {@code inputFieldName} in a stream by using the given {@code |
no test coverage detected