Skip to main content

Timeline for Duplicate words in a text

Current License: CC BY-SA 3.0

4 events
when toggle format what by license comment
Aug 13, 2015 at 4:59 comment added Andrew McNamee "Callers don't care about whether the duplicates are stored in a Set or not" - what if I want to find duplicate words and then pass them into another method that accepts a Set<String>? Callers benefit when a method has general input types and a specific output type.
Aug 12, 2015 at 23:42 comment added h.j.k. A Set has no duplicates. :)
Aug 12, 2015 at 19:04 history edited ThatOneGuy CC BY-SA 3.0
deleted 1 character in body
Aug 12, 2015 at 18:58 history answered ThatOneGuy CC BY-SA 3.0