1
edit
Changes
→Example
----
public abstract class InputStream implements Closeable {
public
class FilterInputStream extends InputStream {
{
public
class FileInputStream extends InputStream
{
==References==
Gamma, Erich; Helm, Richard; Johnson, Ralph; Vlissides, John (1994). Design Patterns: Elements of Reusable Object-Oriented Software. Addison-Wesley. ISBN 0-201-63361-2.
http://www.dofactory.com/Patterns/PatternDecorator.aspx