Created
October 31, 2019 18:08
-
-
Save libliboom/f150948f4895ffd188d311c574e8c1ab 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
// 의존관계가 있는 경우 | |
Rectangle void setWidth(int width) { | |
this.width = width; | |
area = width * height; | |
} | |
// 의존관계가 있으나 명확하지 않은 경우 | |
Widget void setBorder(int width) { | |
this.width = width; | |
notifyListener | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment