This product is not supported for your selected Datadog site. ().
Metadata
ID:java-best-practices/loose-coupling
Language: Java
Severity: Notice
Category: Best Practices
Description
Relying on particular implementation types, such as, HashSet or LinkedList can limit your adaptability to embrace alternative implementations in the future, particularly as your requirements change and your code needs to undergo changes.
It is recommended to opt for general types such as Set or List when declaring variables and parameters.