You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/main/java/com/philipjhamilton/patterns/behavioral/behavioral.md
+66-1Lines changed: 66 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,19 +10,84 @@ Design patters that identify common communication patterns between objects and r
10
10
objects and pass the request along the chain until an object handles it.
11
11
2. Launch-and-leave requests with a single processing pipeline that contains many possible handlers.
12
12
3. An OO linked list with recursive traversal.
13
+
14
+
#### Examples in the JDK
15
+
1. java.util.logging.Logger#log()
16
+
2. javax.servlet.Filter#doFilter()
13
17
14
18
-### Command
19
+
#### Intent
20
+
1. Encapsulate a request as an object, thereby letting you parameterize clients with different requests, queue or log requests, and support undoable operations.
21
+
22
+
#### Examples in the JDK
23
+
1. java.lang.Runnable
24
+
2. javax.swing.Action
15
25
-### Interpreter
26
+
#### Intent
27
+
1. Given a language, define a represention for its grammar along with an interpreter that uses the representation to interpret sentences in the language.
1. Behavioral patterns are concerned with the assignment of responsibilities between objects, or, encapsulating behavior in an object and delegating requests to it.
0 commit comments