@@ -6620,15 +6620,15 @@ public static <T> T[] minus(T[] self, Object removeMe) {
6620
6620
* <pre class="groovyTestCase">
6621
6621
* def arr = [1, 2, 3, 3, 4, 4, 5, 6, 7] as Integer[]
6622
6622
* // usage case like lower_bound(cpp), bisect_left(python)
6623
- * assert arr.partitionPoint(0..<arr.size()) { it < 4 } == 4
6623
+ * assert arr.partitionPoint(0..<arr.size()) { it < 4 } == 4
6624
6624
* // usage case like upper_bound(cpp), bisect_right(python)
6625
- * assert arr.partitionPoint(0..<arr.size()) { it < = 4 } == 6
6625
+ * assert arr.partitionPoint(0..<arr.size()) { it < = 4 } == 6
6626
6626
* // for all match condition
6627
- * assert arr.partitionPoint(0..<arr.size()) { it < = 100 } == arr.size()
6627
+ * assert arr.partitionPoint(0..<arr.size()) { it < = 100 } == arr.size()
6628
6628
* // for no match condition
6629
- * assert arr.partitionPoint(0..<arr.size()) { it < = 0 } == 0
6629
+ * assert arr.partitionPoint(0..<arr.size()) { it < = 0 } == 0
6630
6630
* // for no match condition with range
6631
- * assert arr.partitionPoint(2..<arr.size()) { it < = 0 } == 2
6631
+ * assert arr.partitionPoint(2..<arr.size()) { it < = 0 } == 2
6632
6632
* </pre>
6633
6633
*
6634
6634
* @param self a groovy arr
@@ -6668,13 +6668,13 @@ public static <T> int partitionPoint(T[] self, IntRange range, Predicate<T> cond
6668
6668
* <pre class="groovyTestCase">
6669
6669
* def arr = [1, 2, 3, 3, 4, 4, 5, 6, 7] as Integer[]
6670
6670
* // usage case like lower_bound(cpp), bisect_left(python)
6671
- * assert arr.partitionPoint{ it < 4 } == 4
6671
+ * assert arr.partitionPoint{ it < 4 } == 4
6672
6672
* // usage case like upper_bound(cpp), bisect_right(python)
6673
- * assert arr.partitionPoint{ it < = 4 } == 6
6673
+ * assert arr.partitionPoint{ it < = 4 } == 6
6674
6674
* // for all match condition
6675
- * assert arr.partitionPoint{ it < = 100 } == arr.size()
6675
+ * assert arr.partitionPoint{ it < = 100 } == arr.size()
6676
6676
* // for no match condition
6677
- * assert arr.partitionPoint{ it < = 0 } == 0
6677
+ * assert arr.partitionPoint{ it < = 0 } == 0
6678
6678
* </pre>
6679
6679
*
6680
6680
* @param self a groovy arr
@@ -6698,15 +6698,15 @@ public static <T> int partitionPoint(T[] self, Predicate<T> condition) {
6698
6698
* <pre class="groovyTestCase">
6699
6699
* def arr = [1, 2, 3, 3, 4, 4, 5, 6, 7] as char[]
6700
6700
* // usage case like lower_bound(cpp), bisect_left(python)
6701
- * assert arr.partitionPoint(0..<arr.size()) { it < 4 } == 4
6701
+ * assert arr.partitionPoint(0..<arr.size()) { it < 4 } == 4
6702
6702
* // usage case like upper_bound(cpp), bisect_right(python)
6703
- * assert arr.partitionPoint(0..<arr.size()) { it < = 4 } == 6
6703
+ * assert arr.partitionPoint(0..<arr.size()) { it < = 4 } == 6
6704
6704
* // for all match condition
6705
- * assert arr.partitionPoint(0..<arr.size()) { it < = 100 } == arr.size()
6705
+ * assert arr.partitionPoint(0..<arr.size()) { it < = 100 } == arr.size()
6706
6706
* // for no match condition
6707
- * assert arr.partitionPoint(0..<arr.size()) { it < = 0 } == 0
6707
+ * assert arr.partitionPoint(0..<arr.size()) { it < = 0 } == 0
6708
6708
* // for no match condition with range
6709
- * assert arr.partitionPoint(2..<arr.size()) { it < = 0 } == 2
6709
+ * assert arr.partitionPoint(2..<arr.size()) { it < = 0 } == 2
6710
6710
* </pre>
6711
6711
*
6712
6712
* @param self a groovy arr
@@ -6746,13 +6746,13 @@ public static int partitionPoint(char[] self, IntRange range, IntPredicate condi
6746
6746
* <pre class="groovyTestCase">
6747
6747
* def arr = [1, 2, 3, 3, 4, 4, 5, 6, 7] as char[]
6748
6748
* // usage case like lower_bound(cpp), bisect_left(python)
6749
- * assert arr.partitionPoint{ it < 4 } == 4
6749
+ * assert arr.partitionPoint{ it < 4 } == 4
6750
6750
* // usage case like upper_bound(cpp), bisect_right(python)
6751
- * assert arr.partitionPoint{ it < = 4 } == 6
6751
+ * assert arr.partitionPoint{ it < = 4 } == 6
6752
6752
* // for all match condition
6753
- * assert arr.partitionPoint{ it < = 100 } == arr.size()
6753
+ * assert arr.partitionPoint{ it < = 100 } == arr.size()
6754
6754
* // for no match condition
6755
- * assert arr.partitionPoint{ it < = 0 } == 0
6755
+ * assert arr.partitionPoint{ it < = 0 } == 0
6756
6756
* </pre>
6757
6757
*
6758
6758
* @param self a groovy arr
@@ -6776,15 +6776,15 @@ public static int partitionPoint(char[] self, IntPredicate condition) {
6776
6776
* <pre class="groovyTestCase">
6777
6777
* def arr = [1, 2, 3, 3, 4, 4, 5, 6, 7] as short[]
6778
6778
* // usage case like lower_bound(cpp), bisect_left(python)
6779
- * assert arr.partitionPoint(0..<arr.size()) { it < 4 } == 4
6779
+ * assert arr.partitionPoint(0..<arr.size()) { it < 4 } == 4
6780
6780
* // usage case like upper_bound(cpp), bisect_right(python)
6781
- * assert arr.partitionPoint(0..<arr.size()) { it < = 4 } == 6
6781
+ * assert arr.partitionPoint(0..<arr.size()) { it < = 4 } == 6
6782
6782
* // for all match condition
6783
- * assert arr.partitionPoint(0..<arr.size()) { it < = 100 } == arr.size()
6783
+ * assert arr.partitionPoint(0..<arr.size()) { it < = 100 } == arr.size()
6784
6784
* // for no match condition
6785
- * assert arr.partitionPoint(0..<arr.size()) { it < = 0 } == 0
6785
+ * assert arr.partitionPoint(0..<arr.size()) { it < = 0 } == 0
6786
6786
* // for no match condition with range
6787
- * assert arr.partitionPoint(2..<arr.size()) { it < = 0 } == 2
6787
+ * assert arr.partitionPoint(2..<arr.size()) { it < = 0 } == 2
6788
6788
* </pre>
6789
6789
*
6790
6790
* @param self a groovy arr
@@ -6824,13 +6824,13 @@ public static int partitionPoint(short[] self, IntRange range, IntPredicate cond
6824
6824
* <pre class="groovyTestCase">
6825
6825
* def arr = [1, 2, 3, 3, 4, 4, 5, 6, 7] as short[]
6826
6826
* // usage case like lower_bound(cpp), bisect_left(python)
6827
- * assert arr.partitionPoint{ it < 4 } == 4
6827
+ * assert arr.partitionPoint{ it < 4 } == 4
6828
6828
* // usage case like upper_bound(cpp), bisect_right(python)
6829
- * assert arr.partitionPoint{ it < = 4 } == 6
6829
+ * assert arr.partitionPoint{ it < = 4 } == 6
6830
6830
* // for all match condition
6831
- * assert arr.partitionPoint{ it < = 100 } == arr.size()
6831
+ * assert arr.partitionPoint{ it < = 100 } == arr.size()
6832
6832
* // for no match condition
6833
- * assert arr.partitionPoint{ it < = 0 } == 0
6833
+ * assert arr.partitionPoint{ it < = 0 } == 0
6834
6834
* </pre>
6835
6835
*
6836
6836
* @param self a groovy arr
@@ -6854,15 +6854,15 @@ public static int partitionPoint(short[] self, IntPredicate condition) {
6854
6854
* <pre class="groovyTestCase">
6855
6855
* def arr = [1, 2, 3, 3, 4, 4, 5, 6, 7] as int[]
6856
6856
* // usage case like lower_bound(cpp), bisect_left(python)
6857
- * assert arr.partitionPoint(0..<arr.size()) { it < 4 } == 4
6857
+ * assert arr.partitionPoint(0..<arr.size()) { it < 4 } == 4
6858
6858
* // usage case like upper_bound(cpp), bisect_right(python)
6859
- * assert arr.partitionPoint(0..<arr.size()) { it < = 4 } == 6
6859
+ * assert arr.partitionPoint(0..<arr.size()) { it < = 4 } == 6
6860
6860
* // for all match condition
6861
- * assert arr.partitionPoint(0..<arr.size()) { it < = 100 } == arr.size()
6861
+ * assert arr.partitionPoint(0..<arr.size()) { it < = 100 } == arr.size()
6862
6862
* // for all match condition
6863
- * assert arr.partitionPoint(0..<arr.size()) { it < = 0 } == 0
6863
+ * assert arr.partitionPoint(0..<arr.size()) { it < = 0 } == 0
6864
6864
* // for no match condition with range
6865
- * assert arr.partitionPoint(2..<arr.size()) { it < = 0 } == 2
6865
+ * assert arr.partitionPoint(2..<arr.size()) { it < = 0 } == 2
6866
6866
* </pre>
6867
6867
*
6868
6868
* @param self a groovy arr
@@ -6902,13 +6902,13 @@ public static int partitionPoint(int[] self, IntRange range, IntPredicate condit
6902
6902
* <pre class="groovyTestCase">
6903
6903
* def arr = [1, 2, 3, 3, 4, 4, 5, 6, 7] as int[]
6904
6904
* // usage case like lower_bound(cpp), bisect_left(python)
6905
- * assert arr.partitionPoint{ it < 4 } == 4
6905
+ * assert arr.partitionPoint{ it < 4 } == 4
6906
6906
* // usage case like upper_bound(cpp), bisect_right(python)
6907
- * assert arr.partitionPoint{ it < = 4 } == 6
6907
+ * assert arr.partitionPoint{ it < = 4 } == 6
6908
6908
* // for all match condition
6909
- * assert arr.partitionPoint{ it < = 100 } == arr.size()
6909
+ * assert arr.partitionPoint{ it < = 100 } == arr.size()
6910
6910
* // for no match condition
6911
- * assert arr.partitionPoint{ it < = 0 } == 0
6911
+ * assert arr.partitionPoint{ it < = 0 } == 0
6912
6912
* </pre>
6913
6913
*
6914
6914
* @param self a groovy arr
@@ -6932,15 +6932,15 @@ public static int partitionPoint(int[] self, IntPredicate condition) {
6932
6932
* <pre class="groovyTestCase">
6933
6933
* def arr = [1, 2, 3, 3, 4, 4, 5, 6, 7] as long[]
6934
6934
* // usage case like lower_bound(cpp), bisect_left(python)
6935
- * assert arr.partitionPoint(0..<arr.size()) { it < 4 } == 4
6935
+ * assert arr.partitionPoint(0..<arr.size()) { it < 4 } == 4
6936
6936
* // usage case like upper_bound(cpp), bisect_right(python)
6937
- * assert arr.partitionPoint(0..<arr.size()) { it < = 4 } == 6
6937
+ * assert arr.partitionPoint(0..<arr.size()) { it < = 4 } == 6
6938
6938
* // for all match condition
6939
- * assert arr.partitionPoint(0..<arr.size()) { it < = 100 } == arr.size()
6939
+ * assert arr.partitionPoint(0..<arr.size()) { it < = 100 } == arr.size()
6940
6940
* // for no match condition
6941
- * assert arr.partitionPoint(0..<arr.size()) { it < = 0 } == 0
6941
+ * assert arr.partitionPoint(0..<arr.size()) { it < = 0 } == 0
6942
6942
* // for no match condition with range
6943
- * assert arr.partitionPoint(2..<arr.size()) { it < = 0 } == 2
6943
+ * assert arr.partitionPoint(2..<arr.size()) { it < = 0 } == 2
6944
6944
* </pre>
6945
6945
*
6946
6946
* @param self a groovy arr
@@ -6980,13 +6980,13 @@ public static int partitionPoint(long[] self, IntRange range, LongPredicate cond
6980
6980
* <pre class="groovyTestCase">
6981
6981
* def arr = [1, 2, 3, 3, 4, 4, 5, 6, 7] as long[]
6982
6982
* // usage case like lower_bound(cpp), bisect_left(python)
6983
- * assert arr.partitionPoint{ it < 4 } == 4
6983
+ * assert arr.partitionPoint{ it < 4 } == 4
6984
6984
* // usage case like upper_bound(cpp), bisect_right(python)
6985
- * assert arr.partitionPoint{ it < = 4 } == 6
6985
+ * assert arr.partitionPoint{ it < = 4 } == 6
6986
6986
* // for all match condition
6987
- * assert arr.partitionPoint{ it < = 100 } == arr.size()
6987
+ * assert arr.partitionPoint{ it < = 100 } == arr.size()
6988
6988
* // for no match condition
6989
- * assert arr.partitionPoint{ it < = 0 } == 0
6989
+ * assert arr.partitionPoint{ it < = 0 } == 0
6990
6990
* </pre>
6991
6991
*
6992
6992
* @param self a groovy arr
@@ -7010,15 +7010,15 @@ public static int partitionPoint(long[] self, LongPredicate condition) {
7010
7010
* <pre class="groovyTestCase">
7011
7011
* def arr = [1, 2, 3, 3, 4, 4, 5, 6, 7] as float[]
7012
7012
* // usage case like lower_bound(cpp), bisect_left(python)
7013
- * assert arr.partitionPoint(0..<arr.size()) { it < 4 } == 4
7013
+ * assert arr.partitionPoint(0..<arr.size()) { it < 4 } == 4
7014
7014
* // usage case like upper_bound(cpp), bisect_right(python)
7015
- * assert arr.partitionPoint(0..<arr.size()) { it < = 4 } == 6
7015
+ * assert arr.partitionPoint(0..<arr.size()) { it < = 4 } == 6
7016
7016
* // for all match condition
7017
- * assert arr.partitionPoint(0..<arr.size()) { it < = 100 } == arr.size()
7017
+ * assert arr.partitionPoint(0..<arr.size()) { it < = 100 } == arr.size()
7018
7018
* // for no match condition
7019
- * assert arr.partitionPoint(0..<arr.size()) { it < = 0 } == 0
7019
+ * assert arr.partitionPoint(0..<arr.size()) { it < = 0 } == 0
7020
7020
* // for no match condition with range
7021
- * assert arr.partitionPoint(2..<arr.size()) { it < = 0 } == 2
7021
+ * assert arr.partitionPoint(2..<arr.size()) { it < = 0 } == 2
7022
7022
* </pre>
7023
7023
*
7024
7024
* @param self a groovy arr
@@ -7058,13 +7058,13 @@ public static int partitionPoint(float[] self, IntRange range, DoublePredicate c
7058
7058
* <pre class="groovyTestCase">
7059
7059
* def arr = [1, 2, 3, 3, 4, 4, 5, 6, 7] as float[]
7060
7060
* // usage case like lower_bound(cpp), bisect_left(python)
7061
- * assert arr.partitionPoint{ it < 4 } == 4
7061
+ * assert arr.partitionPoint{ it < 4 } == 4
7062
7062
* // usage case like upper_bound(cpp), bisect_right(python)
7063
- * assert arr.partitionPoint{ it < = 4 } == 6
7063
+ * assert arr.partitionPoint{ it < = 4 } == 6
7064
7064
* // for all match condition
7065
- * assert arr.partitionPoint{ it < = 100 } == arr.size()
7065
+ * assert arr.partitionPoint{ it < = 100 } == arr.size()
7066
7066
* // for no match condition
7067
- * assert arr.partitionPoint{ it < = 0 } == 0
7067
+ * assert arr.partitionPoint{ it < = 0 } == 0
7068
7068
* </pre>
7069
7069
*
7070
7070
* @param self a groovy arr
@@ -7088,15 +7088,15 @@ public static int partitionPoint(float[] self, DoublePredicate condition) {
7088
7088
* <pre class="groovyTestCase">
7089
7089
* def arr = [1, 2, 3, 3, 4, 4, 5, 6, 7] as double[]
7090
7090
* // usage case like lower_bound(cpp), bisect_left(python)
7091
- * assert arr.partitionPoint(0..<arr.size()) { it < 4 } == 4
7091
+ * assert arr.partitionPoint(0..<arr.size()) { it < 4 } == 4
7092
7092
* // usage case like upper_bound(cpp), bisect_right(python)
7093
- * assert arr.partitionPoint(0..<arr.size()) { it < = 4 } == 6
7093
+ * assert arr.partitionPoint(0..<arr.size()) { it < = 4 } == 6
7094
7094
* // for all match condition
7095
- * assert arr.partitionPoint(0..<arr.size()) { it < = 100 } == arr.size()
7095
+ * assert arr.partitionPoint(0..<arr.size()) { it < = 100 } == arr.size()
7096
7096
* // for all match condition
7097
- * assert arr.partitionPoint(0..<arr.size()) { it < = 0 } == 0
7097
+ * assert arr.partitionPoint(0..<arr.size()) { it < = 0 } == 0
7098
7098
* // for no match condition with range
7099
- * assert arr.partitionPoint(2..<arr.size()) { it < = 0 } == 2
7099
+ * assert arr.partitionPoint(2..<arr.size()) { it < = 0 } == 2
7100
7100
* </pre>
7101
7101
*
7102
7102
* @param self a groovy array
@@ -7136,13 +7136,13 @@ public static int partitionPoint(double[] self, IntRange range, DoublePredicate
7136
7136
* <pre class="groovyTestCase">
7137
7137
* def arr = [1, 2, 3, 3, 4, 4, 5, 6, 7] as double[]
7138
7138
* // usage case like lower_bound(cpp), bisect_left(python)
7139
- * assert arr.partitionPoint{ it < 4 } == 4
7139
+ * assert arr.partitionPoint{ it < 4 } == 4
7140
7140
* // usage case like upper_bound(cpp), bisect_right(python)
7141
- * assert arr.partitionPoint{ it < = 4 } == 6
7141
+ * assert arr.partitionPoint{ it < = 4 } == 6
7142
7142
* // for all match condition
7143
- * assert arr.partitionPoint{ it < = 100 } == arr.size()
7143
+ * assert arr.partitionPoint{ it < = 100 } == arr.size()
7144
7144
* // for no match condition
7145
- * assert arr.partitionPoint{ it < = 0 } == 0
7145
+ * assert arr.partitionPoint{ it < = 0 } == 0
7146
7146
* </pre>
7147
7147
*
7148
7148
* @param self a groovy arr
0 commit comments