How does `() -> delegate` wrap a Stream? : <p>Not sure how to write the question, but I saw the following construct in <a href="https://stackoverflow.com/a/45971597/242042">https://stackoverflow.com/a/45971597/242042</a></p>

<pre><code>public interface MyStream&lt;T&gt; {
    Stream&lt;T&gt; stream();
    static &lt;T&gt; MyStream&lt;T&gt; of(Stream&lt;T&gt; stream) {
        return () -&gt; stream;
    }
}
</code></pre>

<p>Which I used in my answer <a href="https://softwareengineering.stackexchange.com/a/400492/42195">https://softwareengineering.stackexchange.com/a/400492/42195</a></p>

<p>The <code>of</code> method returns a Callable that returns the delegate stream.  But how did that even translate to <code>&lt;T&gt; MyStream &lt;T&gt;</code> ?</p>
