aboutsummaryrefslogtreecommitdiff
path: root/core/testdata/format/website-html/sample.html
blob: 479af45cc9fdda0fbc3b9eeec2497a15ad056de4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<div class='api-docs-breadcrumbs'><a href="../index.html">test</a> / <a href="./foo.html">foo</a></div>
<h1>foo</h1>
<div class="overload-group"data-platform="" data-kotlin-version=""><div class="tags"><div class="spacer"></div>
<div class="tags__tag kotlin-version"></div>
</div>
<a name="$foo()"></a>
<div class="signature"><code><span class="keyword">fun </span><span class="identifier">foo</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Int</span></code></div>
<p>Groups elements of the original sequence by the key returned by the given <a href="#">keySelector</a> function
applied to each element and returns a map where each group key is associated with a list of corresponding elements.</p>
<div class="sample" data-min-compiler-version="1.3"><pre><code class="lang-kotlin">

fun main(args: Array&lt;String&gt;) {
//sampleStart
if (true) {
    println(property)
}
//sampleEnd
}</code></pre></div>
</div>
<div class="overload-group"data-platform="" data-kotlin-version=""><div class="tags"><div class="spacer"></div>
<div class="tags__tag kotlin-version"></div>
</div>
<a name="$foo(kotlin.Int)"></a>
<div class="signature"><code><span class="keyword">fun </span><span class="identifier">foo</span><span class="symbol">(</span><span class="parameterName" id="$foo(kotlin.Int)/i">i</span><span class="symbol">:</span>&nbsp;<span class="identifier">Int</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Int</span></code></div>
</div>