We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a61d7b commit 8c6caa2Copy full SHA for 8c6caa2
1 file changed
adapter/src/main/java/com/iluwatar/adapter/App.java
@@ -1,7 +1,13 @@
1
package com.iluwatar.adapter;
2
3
/**
4
- *
+ *
5
+ * An adapter helps two incompatible interfaces to work together. This is the real
6
+ * world definition for an adapter. Interfaces may be incompatible but the inner
7
+ * functionality should suit the need. The Adapter design pattern allows otherwise
8
+ * incompatible classes to work together by converting the interface of one class
9
+ * into an interface expected by the clients.
10
+ * <p>
11
* There are two variations of the Adapter pattern: The class adapter implements
12
* the adaptee's interface whereas the object adapter uses composition to
13
* contain the adaptee in the adapter object. This example uses the object
0 commit comments