Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit647afad

Browse files
authored
Update adapter/README.md
1 parentceca83c commit647afad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎adapter/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ Use the Adapter pattern when
102102

103103
* You want to use an existing class, and its interface does not match the one you need
104104
* You want to create a reusable class that cooperates with unrelated or unforeseen classes, that is, classes that don't necessarily have compatible interfaces
105-
* You need to use several existing subclasses, but it's impractical to adapt their interface by subclassingevery one. An object adapter can adapt the interface of its parent class.
105+
* You need to use several existing subclasses, but it's impractical to adapt their interface by subclassingeveryone. An object adapter can adapt the interface of its parent class.
106106
* Most of the applications using third-party libraries use adapters as a middle layer between the application and the 3rd party library to decouple the application from the library. If another library has to be used only an adapter for the new library is required without having to change the application code.
107107

108108
##Consequences:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp