Last active
June 29, 2016 14:15
-
-
Save Dalamar42/e782b0f1971dbca71e4fd2880f363806 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
public class Component { | |
private final Delegate delegate; | |
public Component() { | |
this.delegate = new Delegate(); | |
} | |
public void doTheThing() { | |
doMyOwnThing(); | |
delegate.doTheDelegateThing(); | |
} | |
private void doMyOwnThing() { | |
... | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment