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
<1> A `Product` entity that exposes API to access the product's price.
565
569
<2> A wrapper type for a `Streamable<Product>` that can be constructed by using `Products.of(…)` (factory method created with the Lombok annotation).
570
+
A standard constructor taking the `Streamable<Product>` will do as well.
566
571
<3> The wrapper type exposes an additional API, calculating new values on the `Streamable<Product>`.
567
-
<4> That wrapper type can be used as a query method return type directly. You need not return `Streamable<Product>` and manually wrap it in the repository client.
572
+
<4> Implement the `Streamable` interface and delegate to the actual result.
573
+
<5> That wrapper type can be used as a query method return type directly. You need not return `Streamable<Product>` and manually wrap it in the repository client.
0 commit comments