Skip to content

Adding Structural pattern#2

Open
JaeDonChoi wants to merge 2 commits intomasterfrom
Structural_Pattern
Open

Adding Structural pattern#2
JaeDonChoi wants to merge 2 commits intomasterfrom
Structural_Pattern

Conversation

@JaeDonChoi
Copy link
Copy Markdown
Owner

WHY?
The location services involve calling and get_all() and get() method of the location service, these types of referencing forces all future location services to implement get_all() in all of the implementations. The intent the implementation of the pattern is to pass adapter class with internally handling calls.

HOW?
I tried implementing a adapter method that uses method get_all() and from other location services, it calls upon after for and use of method get_all() such that there is no more over use of get_all() method in the location.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant