@@ -6589,21 +6589,21 @@ public static <T> T[] minus(T[] self, Object removeMe) {
6589
6589
* The arr is assumed to be partitioned according to the given predicate.
6590
6590
* <pre class="groovyTestCase">
6591
6591
* def arr = [7, 15, 3, 5, 4, 12, 6] as Integer[]
6592
- * assert arr.partitionPoint(0..< arr.size()) { it%2 != 0 } == 4
6592
+ * assert arr.partitionPoint(0..< arr.size()) { it%2 != 0 } == 4
6593
6593
* </pre>
6594
6594
*
6595
6595
* <pre class="groovyTestCase">
6596
6596
* def arr = [1, 2, 3, 3, 4, 4, 5, 6, 7] as Integer[]
6597
6597
* // usage case like lower_bound(cpp), bisect_left(python)
6598
- * assert arr.partitionPoint(0..< arr.size()) { it < 4 } == 4
6598
+ * assert arr.partitionPoint(0..< arr.size()) { it < 4 } == 4
6599
6599
* // usage case like upper_bound(cpp), bisect_right(python)
6600
- * assert arr.partitionPoint(0..< arr.size()) { it <= 4 } == 6
6600
+ * assert arr.partitionPoint(0..< arr.size()) { it <= 4 } == 6
6601
6601
* // for all match condition
6602
- * assert arr.partitionPoint(0..< arr.size()) { it <= 100 } == arr.size()
6602
+ * assert arr.partitionPoint(0..< arr.size()) { it <= 100 } == arr.size()
6603
6603
* // for no match condition
6604
- * assert arr.partitionPoint(0..< arr.size()) { it <= 0 } == 0
6604
+ * assert arr.partitionPoint(0..< arr.size()) { it <= 0 } == 0
6605
6605
* // for no match condition with range
6606
- * assert arr.partitionPoint(2..< arr.size()) { it <= 0 } == 2
6606
+ * assert arr.partitionPoint(2..< arr.size()) { it <= 0 } == 2
6607
6607
* </pre>
6608
6608
*
6609
6609
* @param self a groovy arr
@@ -6667,21 +6667,21 @@ public static <T> int partitionPoint(T[] self, Predicate<T> condition) {
6667
6667
* The arr is assumed to be partitioned according to the given predicate.
6668
6668
* <pre class="groovyTestCase">
6669
6669
* def arr = [7, 15, 3, 5, 4, 12, 6] as char[]
6670
- * assert arr.partitionPoint(0..< arr.size()) { it%2 != 0 } == 4
6670
+ * assert arr.partitionPoint(0..< arr.size()) { it%2 != 0 } == 4
6671
6671
* </pre>
6672
6672
*
6673
6673
* <pre class="groovyTestCase">
6674
6674
* def arr = [1, 2, 3, 3, 4, 4, 5, 6, 7] as char[]
6675
6675
* // usage case like lower_bound(cpp), bisect_left(python)
6676
- * assert arr.partitionPoint(0..< arr.size()) { it < 4 } == 4
6676
+ * assert arr.partitionPoint(0..< arr.size()) { it < 4 } == 4
6677
6677
* // usage case like upper_bound(cpp), bisect_right(python)
6678
- * assert arr.partitionPoint(0..< arr.size()) { it <= 4 } == 6
6678
+ * assert arr.partitionPoint(0..< arr.size()) { it <= 4 } == 6
6679
6679
* // for all match condition
6680
- * assert arr.partitionPoint(0..< arr.size()) { it <= 100 } == arr.size()
6680
+ * assert arr.partitionPoint(0..< arr.size()) { it <= 100 } == arr.size()
6681
6681
* // for no match condition
6682
- * assert arr.partitionPoint(0..< arr.size()) { it <= 0 } == 0
6682
+ * assert arr.partitionPoint(0..< arr.size()) { it <= 0 } == 0
6683
6683
* // for no match condition with range
6684
- * assert arr.partitionPoint(2..< arr.size()) { it <= 0 } == 2
6684
+ * assert arr.partitionPoint(2..< arr.size()) { it <= 0 } == 2
6685
6685
* </pre>
6686
6686
*
6687
6687
* @param self a groovy arr
@@ -6745,21 +6745,21 @@ public static int partitionPoint(char[] self, IntPredicate condition) {
6745
6745
* The arr is assumed to be partitioned according to the given predicate.
6746
6746
* <pre class="groovyTestCase">
6747
6747
* def arr = [7, 15, 3, 5, 4, 12, 6] as short[]
6748
- * assert arr.partitionPoint(0..< arr.size()) { it%2 != 0 } == 4
6748
+ * assert arr.partitionPoint(0..< arr.size()) { it%2 != 0 } == 4
6749
6749
* </pre>
6750
6750
*
6751
6751
* <pre class="groovyTestCase">
6752
6752
* def arr = [1, 2, 3, 3, 4, 4, 5, 6, 7] as short[]
6753
6753
* // usage case like lower_bound(cpp), bisect_left(python)
6754
- * assert arr.partitionPoint(0..< arr.size()) { it < 4 } == 4
6754
+ * assert arr.partitionPoint(0..< arr.size()) { it < 4 } == 4
6755
6755
* // usage case like upper_bound(cpp), bisect_right(python)
6756
- * assert arr.partitionPoint(0..< arr.size()) { it <= 4 } == 6
6756
+ * assert arr.partitionPoint(0..< arr.size()) { it <= 4 } == 6
6757
6757
* // for all match condition
6758
- * assert arr.partitionPoint(0..< arr.size()) { it <= 100 } == arr.size()
6758
+ * assert arr.partitionPoint(0..< arr.size()) { it <= 100 } == arr.size()
6759
6759
* // for no match condition
6760
- * assert arr.partitionPoint(0..< arr.size()) { it <= 0 } == 0
6760
+ * assert arr.partitionPoint(0..< arr.size()) { it <= 0 } == 0
6761
6761
* // for no match condition with range
6762
- * assert arr.partitionPoint(2..< arr.size()) { it <= 0 } == 2
6762
+ * assert arr.partitionPoint(2..< arr.size()) { it <= 0 } == 2
6763
6763
* </pre>
6764
6764
*
6765
6765
* @param self a groovy arr
@@ -6823,21 +6823,21 @@ public static int partitionPoint(short[] self, IntPredicate condition) {
6823
6823
* The arr is assumed to be partitioned according to the given predicate.
6824
6824
* <pre class="groovyTestCase">
6825
6825
* def arr = [7, 15, 3, 5, 4, 12, 6] as int[]
6826
- * assert arr.partitionPoint(0..< arr.size()) { it%2 != 0 } == 4
6826
+ * assert arr.partitionPoint(0..< arr.size()) { it%2 != 0 } == 4
6827
6827
* </pre>
6828
6828
*
6829
6829
* <pre class="groovyTestCase">
6830
6830
* def arr = [1, 2, 3, 3, 4, 4, 5, 6, 7] as int[]
6831
6831
* // usage case like lower_bound(cpp), bisect_left(python)
6832
- * assert arr.partitionPoint(0..< arr.size()) { it < 4 } == 4
6832
+ * assert arr.partitionPoint(0..< arr.size()) { it < 4 } == 4
6833
6833
* // usage case like upper_bound(cpp), bisect_right(python)
6834
- * assert arr.partitionPoint(0..< arr.size()) { it <= 4 } == 6
6834
+ * assert arr.partitionPoint(0..< arr.size()) { it <= 4 } == 6
6835
6835
* // for all match condition
6836
- * assert arr.partitionPoint(0..< arr.size()) { it <= 100 } == arr.size()
6836
+ * assert arr.partitionPoint(0..< arr.size()) { it <= 100 } == arr.size()
6837
6837
* // for all match condition
6838
- * assert arr.partitionPoint(0..< arr.size()) { it <= 0 } == 0
6838
+ * assert arr.partitionPoint(0..< arr.size()) { it <= 0 } == 0
6839
6839
* // for no match condition with range
6840
- * assert arr.partitionPoint(2..< arr.size()) { it <= 0 } == 2
6840
+ * assert arr.partitionPoint(2..< arr.size()) { it <= 0 } == 2
6841
6841
* </pre>
6842
6842
*
6843
6843
* @param self a groovy arr
@@ -6901,21 +6901,21 @@ public static int partitionPoint(int[] self, IntPredicate condition) {
6901
6901
* The arr is assumed to be partitioned according to the given predicate.
6902
6902
* <pre class="groovyTestCase">
6903
6903
* def arr = [7, 15, 3, 5, 4, 12, 6] as long[]
6904
- * assert arr.partitionPoint(0..< arr.size()) { it%2 != 0 } == 4
6904
+ * assert arr.partitionPoint(0..< arr.size()) { it%2 != 0 } == 4
6905
6905
* </pre>
6906
6906
*
6907
6907
* <pre class="groovyTestCase">
6908
6908
* def arr = [1, 2, 3, 3, 4, 4, 5, 6, 7] as long[]
6909
6909
* // usage case like lower_bound(cpp), bisect_left(python)
6910
- * assert arr.partitionPoint(0..< arr.size()) { it < 4 } == 4
6910
+ * assert arr.partitionPoint(0..< arr.size()) { it < 4 } == 4
6911
6911
* // usage case like upper_bound(cpp), bisect_right(python)
6912
- * assert arr.partitionPoint(0..< arr.size()) { it <= 4 } == 6
6912
+ * assert arr.partitionPoint(0..< arr.size()) { it <= 4 } == 6
6913
6913
* // for all match condition
6914
- * assert arr.partitionPoint(0..< arr.size()) { it <= 100 } == arr.size()
6914
+ * assert arr.partitionPoint(0..< arr.size()) { it <= 100 } == arr.size()
6915
6915
* // for no match condition
6916
- * assert arr.partitionPoint(0..< arr.size()) { it <= 0 } == 0
6916
+ * assert arr.partitionPoint(0..< arr.size()) { it <= 0 } == 0
6917
6917
* // for no match condition with range
6918
- * assert arr.partitionPoint(2..< arr.size()) { it <= 0 } == 2
6918
+ * assert arr.partitionPoint(2..< arr.size()) { it <= 0 } == 2
6919
6919
* </pre>
6920
6920
*
6921
6921
* @param self a groovy arr
@@ -6979,21 +6979,21 @@ public static int partitionPoint(long[] self, LongPredicate condition) {
6979
6979
* The arr is assumed to be partitioned according to the given predicate.
6980
6980
* <pre class="groovyTestCase">
6981
6981
* def arr = [7, 15, 3, 5, 4, 12, 6] as float[]
6982
- * assert arr.partitionPoint(0..< arr.size()) { it%2 != 0 } == 4
6982
+ * assert arr.partitionPoint(0..< arr.size()) { it%2 != 0 } == 4
6983
6983
* </pre>
6984
6984
*
6985
6985
* <pre class="groovyTestCase">
6986
6986
* def arr = [1, 2, 3, 3, 4, 4, 5, 6, 7] as float[]
6987
6987
* // usage case like lower_bound(cpp), bisect_left(python)
6988
- * assert arr.partitionPoint(0..< arr.size()) { it < 4 } == 4
6988
+ * assert arr.partitionPoint(0..< arr.size()) { it < 4 } == 4
6989
6989
* // usage case like upper_bound(cpp), bisect_right(python)
6990
- * assert arr.partitionPoint(0..< arr.size()) { it <= 4 } == 6
6990
+ * assert arr.partitionPoint(0..< arr.size()) { it <= 4 } == 6
6991
6991
* // for all match condition
6992
- * assert arr.partitionPoint(0..< arr.size()) { it <= 100 } == arr.size()
6992
+ * assert arr.partitionPoint(0..< arr.size()) { it <= 100 } == arr.size()
6993
6993
* // for no match condition
6994
- * assert arr.partitionPoint(0..< arr.size()) { it <= 0 } == 0
6994
+ * assert arr.partitionPoint(0..< arr.size()) { it <= 0 } == 0
6995
6995
* // for no match condition with range
6996
- * assert arr.partitionPoint(2..< arr.size()) { it <= 0 } == 2
6996
+ * assert arr.partitionPoint(2..< arr.size()) { it <= 0 } == 2
6997
6997
* </pre>
6998
6998
*
6999
6999
* @param self a groovy arr
@@ -7057,21 +7057,21 @@ public static int partitionPoint(float[] self, DoublePredicate condition) {
7057
7057
* The arr is assumed to be partitioned according to the given predicate.
7058
7058
* <pre class="groovyTestCase">
7059
7059
* def arr = [7, 15, 3, 5, 4, 12, 6] as double[]
7060
- * assert arr.partitionPoint(0..< arr.size()) { it%2 != 0 } == 4
7060
+ * assert arr.partitionPoint(0..< arr.size()) { it%2 != 0 } == 4
7061
7061
* </pre>
7062
7062
*
7063
7063
* <pre class="groovyTestCase">
7064
7064
* def arr = [1, 2, 3, 3, 4, 4, 5, 6, 7] as double[]
7065
7065
* // usage case like lower_bound(cpp), bisect_left(python)
7066
- * assert arr.partitionPoint(0..< arr.size()) { it < 4 } == 4
7066
+ * assert arr.partitionPoint(0..< arr.size()) { it < 4 } == 4
7067
7067
* // usage case like upper_bound(cpp), bisect_right(python)
7068
- * assert arr.partitionPoint(0..< arr.size()) { it <= 4 } == 6
7068
+ * assert arr.partitionPoint(0..< arr.size()) { it <= 4 } == 6
7069
7069
* // for all match condition
7070
- * assert arr.partitionPoint(0..< arr.size()) { it <= 100 } == arr.size()
7070
+ * assert arr.partitionPoint(0..< arr.size()) { it <= 100 } == arr.size()
7071
7071
* // for all match condition
7072
- * assert arr.partitionPoint(0..< arr.size()) { it <= 0 } == 0
7072
+ * assert arr.partitionPoint(0..< arr.size()) { it <= 0 } == 0
7073
7073
* // for no match condition with range
7074
- * assert arr.partitionPoint(2..< arr.size()) { it <= 0 } == 2
7074
+ * assert arr.partitionPoint(2..< arr.size()) { it <= 0 } == 2
7075
7075
* </pre>
7076
7076
*
7077
7077
* @param self a groovy array
0 commit comments