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
{{ message }}
Repository navigation
Commit e65b652
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: filterer/README.MD
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ tags:
14
14
Filterer
15
15
16
16
## Intent
17
-
The intent of this design pattern is to to introduce a functional interface that will add a functionality for container-like objects to easily return filtered versions of themselves.
17
+
The intent of this design pattern is to introduce a functional interface that will add a functionality for container-like objects to easily return filtered versions of themselves.
18
18
19
19
## Explanation
20
20
Real world example
@@ -59,7 +59,7 @@ The container-like object (`ThreatAwareSystem` in our case) needs to have a meth
59
59
ability to covariantly specify a lower bound of contravariant `Predicate` in the subinterfaces of interfaces representing the container-like objects.
60
60
61
61
In our example we will be able to pass a predicate that takes `? extends Threat` object and return `? extends ThreatAwareSystem`
62
-
from `Filtered::by` method. A simple implementation of `ThreadAwareSystem` :
62
+
from `Filtered::by` method. A simple implementation of `ThreatAwareSystem` :
0 commit comments