It’s a way to remember that this class really implements that interface.
It won’t have any bad effect and it can help to understand the code without going through the complete hierarchy of the given class.
More Related Contents:
- What is the difference between "collection" ,"Collection" and "Collections"? [duplicate]
- Difference between
- Properly removing an Integer from a List
- How do I convert a Map to List in Java?
- Randomly select an item from a list
- What is the best way to combine two lists into a map (Java)?
- Hibernate Validation of Collections of Primitives
- What is the best way get the symmetric difference between two sets in java?
- Performance ConcurrentHashmap vs HashMap
- What are Reified Generics? How do they solve Type Erasure problems and why can’t they be added without major changes?
- Why does Collections.sort use Mergesort but Arrays.sort does not?
- How to modify a Collection while iterating using for-each loop without ConcurrentModificationException? [duplicate]
- Sort a List of objects by multiple fields [duplicate]
- Empty an ArrayList or just create a new one and let the old one be garbage collected? [duplicate]
- Removing items from a collection in java while iterating over it
- what’s a good persistent collections framework for use in java?
- Is there a way to get the value of a HashMap randomly in Java?
- Difference between a deprecated and a legacy API?
- Any implementation of Ordered Set in Java?
- JDK9 randomization on immutable sets and maps
- In what situations is the CopyOnWriteArrayList suitable? [duplicate]
- What Java 8 Stream.collect equivalents are available in the standard Kotlin library?
- Create a List of primitive int?
- Java collections covariance problem
- Comparing two hashmaps for equal values and same key sets?
- When should I return the Interface and when the concrete class?
- Storing different types of elements in a List in Java
- Are they any decent on-disk implementations of Java’s Map?
- Hashmap implementation to count the occurrences of each character
- Perform operation on n random distinct elements from Collection using Streams API