This repository was archived by the owner on Feb 25, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change @@ -1040,6 +1040,18 @@ public int nextInt() {
1040
1040
}
1041
1041
}
1042
1042
1043
+ @ Override
1044
+ public Integer next () {
1045
+ // desugar bug
1046
+ return nextInt ();
1047
+ }
1048
+
1049
+ @ Override
1050
+ public void forEachRemaining (IntConsumer action ) {
1051
+ // desugar bug
1052
+ PrimitiveIterator .OfInt .super .forEachRemaining (action );
1053
+ }
1054
+
1043
1055
@ Override
1044
1056
public void remove () {
1045
1057
throw new UnsupportedOperationException ("remove" );
@@ -1090,6 +1102,18 @@ public long nextLong() {
1090
1102
}
1091
1103
}
1092
1104
1105
+ @ Override
1106
+ public Long next () {
1107
+ // desugar bug
1108
+ return nextLong ();
1109
+ }
1110
+
1111
+ @ Override
1112
+ public void forEachRemaining (LongConsumer action ) {
1113
+ // desugar bug
1114
+ PrimitiveIterator .OfLong .super .forEachRemaining (action );
1115
+ }
1116
+
1093
1117
@ Override
1094
1118
public void remove () {
1095
1119
throw new UnsupportedOperationException ("remove" );
@@ -1140,6 +1164,18 @@ public double nextDouble() {
1140
1164
}
1141
1165
}
1142
1166
1167
+ @ Override
1168
+ public Double next () {
1169
+ // desugar bug
1170
+ return nextDouble ();
1171
+ }
1172
+
1173
+ @ Override
1174
+ public void forEachRemaining (DoubleConsumer action ) {
1175
+ // desugar bug
1176
+ PrimitiveIterator .OfDouble .super .forEachRemaining (action );
1177
+ }
1178
+
1143
1179
@ Override
1144
1180
public void remove () {
1145
1181
throw new UnsupportedOperationException ("remove" );
You can’t perform that action at this time.
0 commit comments