| <html devsite="true"> |
| <head> |
| <title>TopKt</title> |
| {% setvar book_path %}/reference/dokkatest/_book.yaml{% endsetvar %} |
| {% include "_shared/_reference-head-tags.html" %} |
| </head> |
| <body> |
| <h1>TopKt</h1> |
| {% setvar page_path %}dokkatest/toplevel/TopKt.html{% endsetvar %} |
| {% setvar can_switch %}1{% endsetvar %} |
| {% include "reference/_java_switcher2.md" %} |
| <p> |
| <pre>public final class TopKt</pre> |
| </p> |
| <hr> |
| <h2>Summary</h2> |
| <div class="devsite-table-wrapper"> |
| <table class="responsive"> |
| <thead> |
| <tr> |
| <th colspan="2"><h3>Constants</h3></th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><code>final static final boolean</code></td> |
| <td width="100%"> |
| <div><code><a href="/reference/dokkatest/toplevel/package-summary.html#bool()">bool</a></code></div> |
| <p>Humpty Dumpty sat on a wall...</p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </div> |
| <div class="devsite-table-wrapper"> |
| <table class="responsive"> |
| <thead> |
| <tr> |
| <th colspan="2"><h3>Public fields</h3></th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><code>final <a href="/reference/dokkatest/toplevel/Foo.html">Foo</a></code></td> |
| <td width="100%"> |
| <div><code><a href="/reference/dokkatest/toplevel/package-summary.html#hello()">hello</a></code></div> |
| </td> |
| </tr> |
| <tr> |
| <td><code>final int</code></td> |
| <td width="100%"> |
| <div><code><a href="/reference/dokkatest/toplevel/package-summary.html#world(kotlin.String)">world</a></code></div> |
| <p>The Wheels on the Bus go round and round...</p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </div> |
| <div class="devsite-table-wrapper"> |
| <table class="responsive"> |
| <thead> |
| <tr> |
| <th colspan="2"><h3>Public methods</h3></th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><code>static final void</code></td> |
| <td width="100%"> |
| <div><code><a href="/reference/dokkatest/toplevel/TopKt.html#a()">a</a>()</code></div> |
| </td> |
| </tr> |
| <tr> |
| <td><code>static final <a href="https://developer.android.com/reference/java/lang/String.html">String</a></code></td> |
| <td width="100%"> |
| <div><code><a href="/reference/dokkatest/toplevel/TopKt.html#b(kotlin.Int,kotlin.String,kotlin.Boolean,dokkatest.toplevel.Foo)">b</a>(@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a> <a href="https://developer.android.com/reference/java/lang/Integer.html">Integer</a> i1, @<a href="/reference/androidx/annotation/Nullable.html">Nullable</a> <a href="https://developer.android.com/reference/java/lang/String.html">String</a> i2, boolean i3, <a href="/reference/dokkatest/toplevel/Foo.html">Foo</a> foo)</code></div> |
| <p>Top level function docs next to <code><a href="/reference/dokkatest/toplevel/package-summary.html#a()">a</a></code>.</p> |
| </td> |
| </tr> |
| <tr> |
| <td><code>static final @<a href="/reference/dokkatest/toplevel/Wassup.html">Wassup</a>(a = "hello", f = ["world"]) Function0<<a href="https://developer.android.com/reference/java/util/List.html">List</a><<a href="https://developer.android.com/reference/java/lang/Float.html">Float</a>>></code></td> |
| <td width="100%"> |
| <div><code><T extends @<a href="/reference/androidx/annotation/Nullable.html">Nullable</a> <a href="https://developer.android.com/reference/java/lang/Object.html">Object</a>, R extends <a href="https://developer.android.com/reference/java/lang/Number.html">Number</a>> <a href="/reference/dokkatest/toplevel/TopKt.html#foo(kotlin.Function2,kotlin.Any,kotlin.IntArray,kotlin.Function0,kotlin.coroutines.SuspendFunction3)">foo</a>(<br> Function2<T, <a href="https://developer.android.com/reference/java/lang/Integer.html">Integer</a>, <a href="https://developer.android.com/reference/java/util/List.html">List</a><R>> receiver,<br> T a,<br> int c,<br> Function0<Function0<<a href="https://developer.android.com/reference/java/lang/String.html">String</a>>> stuff,<br> @<a href="/reference/dokkatest/toplevel/Wassup.html">Wassup</a> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.coroutines/-suspend-function3/index.html">SuspendFunction3</a><<a href="https://developer.android.com/reference/java/util/Set.html">Set</a><<a href="https://developer.android.com/reference/java/lang/Boolean.html">Boolean</a>>, <a href="https://developer.android.com/reference/java/util/Map.html">Map</a><<a href="https://developer.android.com/reference/java/lang/String.html">String</a>, <a href="https://developer.android.com/reference/java/util/List.html">List</a><T>>, Function1<<a href="https://developer.android.com/reference/java/lang/Double.html">Double</a>, <a href="https://developer.android.com/reference/java/lang/Double.html">Double</a>>, <a href="https://developer.android.com/reference/java/util/Collection.html">Collection</a><R>> block<br>)</code></div> |
| <p>A brutally difficult function to render.</p> |
| </td> |
| </tr> |
| <tr> |
| <td><code>static final <a href="https://developer.android.com/reference/java/lang/Void.html">Void</a></code></td> |
| <td width="100%"> |
| <div><code><span><del><a href="/reference/dokkatest/toplevel/TopKt.html#sadBoi()">sadBoi</a></del></span>()</code></div> |
| <p><strong>This method is deprecated.</strong> This method was too sad.</p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </div> |
| <h2>Constants</h2> |
| <div><a name="getBool()"></a><a name="setBool()"></a><a name="getBool--"></a><a name="setBool--"></a> |
| <h3 class="api-name" id="bool()">bool</h3> |
| <pre class="api-signature no-pretty-print">public final static final boolean <a href="/reference/dokkatest/toplevel/package-summary.html#bool()">bool</a></pre> |
| <p>Humpty Dumpty sat on a wall...</p> |
| </div> |
| <h2>Public fields</h2> |
| <div><a name="getHello()"></a><a name="setHello()"></a><a name="getHello--"></a><a name="setHello--"></a> |
| <h3 class="api-name" id="hello()">hello</h3> |
| <pre class="api-signature no-pretty-print">public final <a href="/reference/dokkatest/toplevel/Foo.html">Foo</a> <a href="/reference/dokkatest/toplevel/package-summary.html#hello()">hello</a></pre> |
| </div> |
| <div><a name="getWorld(kotlin.String)"></a><a name="setWorld(kotlin.String)"></a><a name="getWorld-kotlin.String-"></a><a name="setWorld-kotlin.String-"></a> |
| <h3 class="api-name" id="world(kotlin.String)">world</h3> |
| <pre class="api-signature no-pretty-print">public final int <a href="/reference/dokkatest/toplevel/package-summary.html#world(kotlin.String)">world</a></pre> |
| <p>The Wheels on the Bus go round and round...</p> |
| </div> |
| <h2>Public methods</h2> |
| <div><a name="a--"></a> |
| <h3 class="api-name" id="a()">a</h3> |
| <pre class="api-signature no-pretty-print">public static final void <a href="/reference/dokkatest/toplevel/TopKt.html#a()">a</a>()</pre> |
| </div> |
| <div><a name="b(kotlin.Int, kotlin.String, kotlin.Boolean, dokkatest.toplevel.Foo)"></a><a name="b-kotlin.Int-kotlin.String-kotlin.Boolean-dokkatest.toplevel.Foo-"></a> |
| <h3 class="api-name" id="b(kotlin.Int,kotlin.String,kotlin.Boolean,dokkatest.toplevel.Foo)">b</h3> |
| <pre class="api-signature no-pretty-print">public static final <a href="https://developer.android.com/reference/java/lang/String.html">String</a> <a href="/reference/dokkatest/toplevel/TopKt.html#b(kotlin.Int,kotlin.String,kotlin.Boolean,dokkatest.toplevel.Foo)">b</a>(@<a href="/reference/androidx/annotation/Nullable.html">Nullable</a> <a href="https://developer.android.com/reference/java/lang/Integer.html">Integer</a> i1, @<a href="/reference/androidx/annotation/Nullable.html">Nullable</a> <a href="https://developer.android.com/reference/java/lang/String.html">String</a> i2, boolean i3, <a href="/reference/dokkatest/toplevel/Foo.html">Foo</a> foo)</pre> |
| <p>Top level function docs next to <code><a href="/reference/dokkatest/toplevel/package-summary.html#a()">a</a></code>. This is a second sentence. Talk to <code><a href="/reference/dokkatest/toplevel/package-summary.html#world(kotlin.String)">world</a></code>.</p> |
| </div> |
| <div><a name="foo(kotlin.Function2, kotlin.Any, kotlin.IntArray, kotlin.Function0, kotlin.coroutines.SuspendFunction3)"></a><a name="foo-kotlin.Function2-kotlin.Any-kotlin.IntArray-kotlin.Function0-kotlin.coroutines.SuspendFunction3-"></a> |
| <h3 class="api-name" id="foo(kotlin.Function2,kotlin.Any,kotlin.IntArray,kotlin.Function0,kotlin.coroutines.SuspendFunction3)">foo</h3> |
| <pre class="api-signature no-pretty-print">@<a href="/reference/dokkatest/toplevel/Wassup.html">Wassup</a>(a = "hello", f = ["world"])<br>public static final @<a href="/reference/dokkatest/toplevel/Wassup.html">Wassup</a>(a = "hello", f = ["world"]) Function0<<a href="https://developer.android.com/reference/java/util/List.html">List</a><<a href="https://developer.android.com/reference/java/lang/Float.html">Float</a>>> <T extends @<a href="/reference/androidx/annotation/Nullable.html">Nullable</a> <a href="https://developer.android.com/reference/java/lang/Object.html">Object</a>, R extends <a href="https://developer.android.com/reference/java/lang/Number.html">Number</a>> <a href="/reference/dokkatest/toplevel/TopKt.html#foo(kotlin.Function2,kotlin.Any,kotlin.IntArray,kotlin.Function0,kotlin.coroutines.SuspendFunction3)">foo</a>(<br> Function2<T, <a href="https://developer.android.com/reference/java/lang/Integer.html">Integer</a>, <a href="https://developer.android.com/reference/java/util/List.html">List</a><R>> receiver,<br> T a,<br> int c,<br> Function0<Function0<<a href="https://developer.android.com/reference/java/lang/String.html">String</a>>> stuff,<br> @<a href="/reference/dokkatest/toplevel/Wassup.html">Wassup</a> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.coroutines/-suspend-function3/index.html">SuspendFunction3</a><<a href="https://developer.android.com/reference/java/util/Set.html">Set</a><<a href="https://developer.android.com/reference/java/lang/Boolean.html">Boolean</a>>, <a href="https://developer.android.com/reference/java/util/Map.html">Map</a><<a href="https://developer.android.com/reference/java/lang/String.html">String</a>, <a href="https://developer.android.com/reference/java/util/List.html">List</a><T>>, Function1<<a href="https://developer.android.com/reference/java/lang/Double.html">Double</a>, <a href="https://developer.android.com/reference/java/lang/Double.html">Double</a>>, <a href="https://developer.android.com/reference/java/util/Collection.html">Collection</a><R>> block<br>)</pre> |
| <p>A brutally difficult function to render. Good luck!</p> |
| <p><img alt="Sarcastic laugh" src="https://thumbs.gfycat.com/BothFabulousHarvestmen-size_restricted.gif"></p> |
| <div class="devsite-table-wrapper"> |
| <table class="responsive"> |
| <thead> |
| <tr> |
| <th colspan="2">Returns</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><code>@<a href="/reference/dokkatest/toplevel/Wassup.html">Wassup</a>(a = "hello", f = ["world"]) Function0<<a href="https://developer.android.com/reference/java/util/List.html">List</a><<a href="https://developer.android.com/reference/java/lang/Float.html">Float</a>>></code></td> |
| <td width="100%"> |
| <p>a list of... something?</p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </div> |
| <div class="devsite-table-wrapper"> |
| <table class="responsive"> |
| <thead> |
| <tr> |
| <th colspan="2">Parameters</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><code>Function2<T, <a href="https://developer.android.com/reference/java/lang/Integer.html">Integer</a>, <a href="https://developer.android.com/reference/java/util/List.html">List</a><R>> receiver</code></td> |
| <td width="100%"> |
| <p>what is even going on here</p> |
| </td> |
| </tr> |
| <tr> |
| <td><code>T a</code></td> |
| <td width="100%"> |
| <p>choose your own adventure!</p> |
| </td> |
| </tr> |
| <tr> |
| <td><code>int c</code></td> |
| <td width="100%"> |
| <p>any number of ints</p> |
| </td> |
| </tr> |
| <tr> |
| <td><code>Function0<Function0<<a href="https://developer.android.com/reference/java/lang/String.html">String</a>>> stuff</code></td> |
| <td width="100%"> |
| <p>lambdas</p> |
| </td> |
| </tr> |
| <tr> |
| <td><code>@<a href="/reference/dokkatest/toplevel/Wassup.html">Wassup</a> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.coroutines/-suspend-function3/index.html">SuspendFunction3</a><<a href="https://developer.android.com/reference/java/util/Set.html">Set</a><<a href="https://developer.android.com/reference/java/lang/Boolean.html">Boolean</a>>, <a href="https://developer.android.com/reference/java/util/Map.html">Map</a><<a href="https://developer.android.com/reference/java/lang/String.html">String</a>, <a href="https://developer.android.com/reference/java/util/List.html">List</a><T>>, Function1<<a href="https://developer.android.com/reference/java/lang/Double.html">Double</a>, <a href="https://developer.android.com/reference/java/lang/Double.html">Double</a>>, <a href="https://developer.android.com/reference/java/util/Collection.html">Collection</a><R>> block</code></td> |
| <td width="100%"> |
| <p>Lots, and LOTS of lambdas. Oh, and suspending ones too.</p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </div> |
| <div class="devsite-table-wrapper"> |
| <table class="responsive"> |
| <thead> |
| <tr> |
| <th colspan="2">Throws</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><code>kotlin.IllegalStateException</code></td> |
| <td width="100%"> |
| <p>because the world is broken</p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </div> |
| <div class="devsite-table-wrapper"> |
| <table class="responsive"> |
| <thead> |
| <tr> |
| <th colspan="2">See also</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><code><a href="/reference/dokkatest/toplevel/package-summary.html#b(kotlin.Int,kotlin.String,kotlin.Boolean,dokkatest.toplevel.Foo)">b</a></code></td> |
| <td width="100%"> |
| <p>it's a lot simpler</p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </div> |
| </div> |
| <div><a name="sadBoi--"></a> |
| <h3 class="api-name" id="sadBoi()">sadBoi</h3> |
| <pre class="api-signature no-pretty-print">public static final <a href="https://developer.android.com/reference/java/lang/Void.html">Void</a> <span><del><a href="/reference/dokkatest/toplevel/TopKt.html#sadBoi()">sadBoi</a></del></span>()</pre> |
| <aside class="caution"><strong>This method is deprecated.</strong><br>This method was too sad.</aside> |
| <p>I'm so sad, they're deleting me!</p> |
| </div> |
| </body> |
| </html> |