mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2025-01-09 08:24:10 -08:00
commit
120207532e
|
@ -253,6 +253,9 @@ public class TCollections extends TObject {
|
||||||
}
|
}
|
||||||
int l = 0;
|
int l = 0;
|
||||||
int u = list.size() - 1;
|
int u = list.size() - 1;
|
||||||
|
if (u < 0) {
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
while (true) {
|
while (true) {
|
||||||
int i = (l + u) / 2;
|
int i = (l + u) / 2;
|
||||||
T e = list.get(i);
|
T e = list.get(i);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user