Last active
August 18, 2018 07:38
-
-
Save arjunsk/60951edeca5811ff9137b7813fb09425 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package decorators; | |
public abstract class ScrollDecorator implements IWindow{ | |
IWindow window; | |
public ScrollDecorator(IWindow w){ | |
this.window = w; | |
} | |
@Override | |
public String render(String data){ | |
return window.render(data); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment