Consider a method that returns a Collection or a method that needs a Collection as one of its parameters. Which is the simplest concrete type I can/should use?
- ArrayList
- HashSet
- (something else)
I know that some will say "it depends", but what I want is a hard and fast rule of thumb that doesn't require you to do much thinking/analysis.