Treffer: DECORATOR DESIGN PATTERN. HOW I/O PACKAGE IS IMPLEMENTED IN JAVA.

Title:
DECORATOR DESIGN PATTERN. HOW I/O PACKAGE IS IMPLEMENTED IN JAVA.
Source:
Bulletin of the Transilvania University of Brasov, Series III: Mathematics, Informatics, Physics. 2008, Vol. 1 Issue 50, p525-530. 6p. 3 Diagrams.
Database:
Academic Search Index

Weitere Informationen

Starting from the principles promoted by design patterns, we are going to show how I/O package is implemented in Java. The Decorator design pattern solves the problem in a very elegant way: it allows an object to be changed at runtime. This is possible with the help provided by this design pattern which also illustrates the way we can use composition instead of inheritance (one of the most important principles promoted by design patterns). [ABSTRACT FROM AUTHOR]