Replace loop with Collections#addAll