Redis (redis) wrote in code_wtf,
Redis
redis
code_wtf

Пройдемся по листу

Java:

Iterator iterator = batch.iterator();
while (iterator.hasNext()) {
    message = iterator.next();
    iterator.remove();
}
return message;


(batch - List)
  • Post a new comment

    Error

    Comments allowed for members only

    Anonymous comments are disabled in this journal

    default userpic

    Your IP address will be recorded 

  • 6 comments