Skip to main content
12 events
when toggle format what by license comment
Aug 19, 2015 at 18:20 comment added Solocid Alright mate, thank you very much. This was exactly what I was looking for. Much appreciated <3
Aug 19, 2015 at 18:19 vote accept Solocid
Aug 19, 2015 at 18:17 history edited Suresh Atta CC BY-SA 3.0
added 188 characters in body
Aug 19, 2015 at 18:15 comment added Suresh Atta No. It just iterating over the array. Going to edit that part. The current way is called as enhanced for loop
Aug 19, 2015 at 18:12 comment added Solocid What's the ' String str : array ' part do? I just want to make sure I'm not "cheating" by converting the array into an ArrayList or whatever else.
Aug 19, 2015 at 17:58 comment added nanofarad No, it has different behavior for multiple matches within the array.
Aug 19, 2015 at 17:58 comment added Suresh Atta Is the above code is not replacement for if(Arrays.asList(words).contains("ubt")); ?
Aug 19, 2015 at 17:57 history undeleted Suresh Atta
Aug 19, 2015 at 17:57 history edited Suresh Atta CC BY-SA 3.0
edited body
Aug 19, 2015 at 17:56 history deleted Suresh Atta via Vote
Aug 19, 2015 at 17:56 comment added nanofarad Aside from the typo, this doesn't have the same behavior as the OP had in their current solution.
Aug 19, 2015 at 17:54 history answered Suresh Atta CC BY-SA 3.0