1

I have a list with 1000 objects and I want to go through it, but I don't want to read the 1000 objects at once, I want to read 10 objects per second (example) to avoid lags

List<Object> objects = new ArrayList<>();
for (int index = 0; index < objects.size(); index++) {
    
}
Cromo29
  • 31
  • 3

0 Answers0