KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I try with a loop like that // ArrayList tourists for (Tourist t : tourists) { if (t != null) { t.setId(idForm); } } But it isn't nice. Can anyone suggest me a better solution? Some useful benchmarks to make better decision: While loop, For loop and Iterator Performance Test
Tags (comma-separated)
Save Edits
Cancel