Skip to content

Commit b281eb5

Browse files
committed
Usage of Adapter in jDK
1 parent e3901d5 commit b281eb5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,5 +326,6 @@ private static Volt getVolt(SocketAdapter sockAdapter, int i) {
326326

327327
}
328328
```
329+
This pattern has many usage in the JDK : __java.util.Arrays#asList() java.io.InputStreamReader(InputStream)__ (returns a Reader),__java.io.OutputStreamWriter(OutputStream)__ (returns a Writer).
329330

330-
### Composite Pattern
331+
### Composite Pattern

0 commit comments

Comments
 (0)