I want to know where Decorator Design Pattern is being used in JDK. I think below methods of java.util.Collections class are coming under that category..
- synchronizedList()
- synchronizedMap()
- synchronizedSet()
- unmodifiableSet()
- unmodifiableMap()
- unmodifiableList()
Please let me know some other implementation and correct if I am wrong.
Aucun commentaire:
Enregistrer un commentaire