| <html devsite="true"> |
| <head> |
| <title>TopKt</title> |
| {% setvar book_path %}/reference/dokkatest/_book.yaml{% endsetvar %} |
| {% include "_shared/_reference-head-tags.html" %} |
| </head> |
| <body> |
| <div itemscope="" itemtype="http://developers.google.com/ReferenceObject"> |
| <meta itemprop="name" content="TopKt"> |
| <meta itemprop="path" content="dokkatest.toplevel"> |
| <meta itemprop="property" content="a()"> |
| <meta itemprop="property" content="b(kotlin.Int,kotlin.String,kotlin.Boolean,dokkatest.toplevel.Foo)"> |
| <meta itemprop="property" content="(kotlin.Function2).foo(kotlin.Any,kotlin.IntArray,kotlin.Function0,kotlin.coroutines.SuspendFunction3)"> |
| <meta itemprop="property" content="getHello()"> |
| <meta itemprop="property" content="(kotlin.String).getWorld()"> |
| <meta itemprop="property" content="sadBoi()"> |
| <meta itemprop="property" content="bool()"> |
| <meta itemprop="language" content="JAVA"> |
| </div> |
| <div id="header-block"> |
| <div> |
| <h1>TopKt</h1> |
| </div> |
| </div> |
| <div id="refdoc-switcher-placeholder"></div> |
| <p> |
| <pre>public final class <a href="/reference/dokkatest/toplevel/TopKt.html">TopKt</a></pre> |
| </p> |
| <hr> |
| <h2>Summary</h2> |
| <div class="devsite-table-wrapper"> |
| <table class="responsive"> |
| <colgroup> |
| <col width="40%"> |
| <col> |
| </colgroup> |
| <thead> |
| <tr> |
| <th colspan="100%"><h3>Constants</h3></th> |
| </tr> |
| </thead> |
| <tbody class="list"> |
| <tr> |
| <td><code>static final boolean</code></td> |
| <td> |
| <div><code><a href="/reference/dokkatest/toplevel/TopKt.html#bool()">bool</a> = true</code></div> |
| <p>Humpty Dumpty sat on a wall...</p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </div> |
| <div class="devsite-table-wrapper"> |
| <table class="responsive"> |
| <colgroup> |
| <col width="40%"> |
| <col> |
| </colgroup> |
| <thead> |
| <tr> |
| <th colspan="100%"><h3>Public methods</h3></th> |
| </tr> |
| </thead> |
| <tbody class="list"> |
| <tr> |
| <td><code>static final void</code></td> |
| <td> |
| <div><code><a href="/reference/dokkatest/toplevel/TopKt.html#a()">a</a>()</code></div> |
| </td> |
| </tr> |
| <tr> |
| <td><code>static final @<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/java/lang/String.html">String</a></code></td> |
| <td> |
| <div><code><a href="/reference/dokkatest/toplevel/TopKt.html#b(kotlin.Int,kotlin.String,kotlin.Boolean,dokkatest.toplevel.Foo)">b</a>(<a href="https://developer.android.com/reference/java/lang/Integer.html">Integer</a> i1, <a href="https://developer.android.com/reference/java/lang/String.html">String</a> i2, boolean i3, @<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> <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/androidx/annotation/NonNull.html">NonNull</a> Function0<<a href="https://developer.android.com/reference/java/util/List.html">List</a><@<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/java/lang/Float.html">Float</a>>></code></td> |
| <td> |
| <div><code>@<a href="/reference/dokkatest/toplevel/Wassup.html">Wassup</a>(a = "hello", f = ["world"])<br><T extends <a href="https://developer.android.com/reference/java/lang/Object.html">Object</a>, R extends @<a href="/reference/dokkatest/toplevel/Wassup.html">Wassup</a> <a href="https://developer.android.com/reference/java/lang/Number.html">Number</a>> <a href="/reference/dokkatest/toplevel/TopKt.html#(kotlin.Function2).foo(kotlin.Any,kotlin.IntArray,kotlin.Function0,kotlin.coroutines.SuspendFunction3)">foo</a>(<br> @<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-extension-function-type/index.html">ExtensionFunctionType</a> @<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> Function2<@<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> T, @<a href="/reference/dokkatest/toplevel/Wassup.html">Wassup</a> @<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/java/lang/Integer.html">Integer</a>, @<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/java/util/List.html">List</a><@<a href="/reference/dokkatest/toplevel/Wassup.html">Wassup</a> @<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> R>> receiver,<br> @<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> T a,<br> int c,<br> @<a href="/reference/dokkatest/toplevel/Wassup.html">Wassup</a>(a = "bar") @<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> 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/-extension-function-type/index.html">ExtensionFunctionType</a> @<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> SuspendFunction3<@<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/java/util/Set.html">Set</a><@<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/java/lang/Boolean.html">Boolean</a>>, @<a href="/reference/androidx/annotation/NonNull.html">NonNull</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="/reference/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/java/util/List.html">List</a><@<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> T>>, @<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> Function1<<a href="https://developer.android.com/reference/java/lang/Double.html">Double</a>, @<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/java/lang/Double.html">Double</a>>, @<a href="/reference/dokkatest/toplevel/Wassup.html">Wassup</a>(f = ["foo"]) @<a href="/reference/androidx/annotation/NonNull.html">NonNull</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="/reference/androidx/annotation/NonNull.html">NonNull</a> <a href="/reference/dokkatest/toplevel/Foo.html">Foo</a></code></td> |
| <td> |
| <div><code><a href="/reference/dokkatest/toplevel/TopKt.html#getHello()">getHello</a>()</code></div> |
| </td> |
| </tr> |
| <tr> |
| <td><code>static final int</code></td> |
| <td> |
| <div><code><a href="/reference/dokkatest/toplevel/TopKt.html#(kotlin.String).getWorld()">getWorld</a>(@<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/java/lang/String.html">String</a> receiver)</code></div> |
| <p>The Wheels on the Bus go round and round...</p> |
| </td> |
| </tr> |
| <tr> |
| <td><code>static final @<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/java/lang/Void.html">Void</a></code></td> |
| <td> |
| <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> |
| <div class="list"> |
| <h2>Constants</h2> |
| <div class="api-item"><a name="getBool()"></a><a name="setBool()"></a><a name="getBool--"></a><a name="setBool--"></a> |
| <div class="api-name-block"> |
| <div> |
| <h3 id="bool()">bool</h3> |
| </div> |
| </div> |
| <pre class="api-signature no-pretty-print">public static final boolean <a href="/reference/dokkatest/toplevel/TopKt.html#bool()">bool</a> = true</pre> |
| <p>Humpty Dumpty sat on a wall...</p> |
| </div> |
| </div> |
| <div class="list"> |
| <h2>Public methods</h2> |
| <div class="api-item"><a name="a--"></a><a name="a"></a> |
| <div class="api-name-block"> |
| <div> |
| <h3 id="a()">a</h3> |
| </div> |
| </div> |
| <pre class="api-signature no-pretty-print">public static final void <a href="/reference/dokkatest/toplevel/TopKt.html#a()">a</a>()</pre> |
| </div> |
| <div class="api-item"><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><a name="b"></a> |
| <div class="api-name-block"> |
| <div> |
| <h3 id="b(kotlin.Int,kotlin.String,kotlin.Boolean,dokkatest.toplevel.Foo)">b</h3> |
| </div> |
| </div> |
| <pre class="api-signature no-pretty-print">public static final @<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> <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="https://developer.android.com/reference/java/lang/Integer.html">Integer</a> i1, <a href="https://developer.android.com/reference/java/lang/String.html">String</a> i2, boolean i3, @<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> <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#(kotlin.String).world()">world</a></code>.</p> |
| </div> |
| <div class="api-item"><a name="(kotlin.Function2).foo(kotlin.Any, kotlin.IntArray, kotlin.Function0, kotlin.coroutines.SuspendFunction3)"></a><a name="-kotlin.Function2-.foo-kotlin.Any-kotlin.IntArray-kotlin.Function0-kotlin.coroutines.SuspendFunction3-"></a><a name="foo"></a> |
| <div class="api-name-block"> |
| <div> |
| <h3 id="(kotlin.Function2).foo(kotlin.Any,kotlin.IntArray,kotlin.Function0,kotlin.coroutines.SuspendFunction3)">foo</h3> |
| </div> |
| </div> |
| <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/androidx/annotation/NonNull.html">NonNull</a> Function0<<a href="https://developer.android.com/reference/java/util/List.html">List</a><@<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/java/lang/Float.html">Float</a>>> <T extends <a href="https://developer.android.com/reference/java/lang/Object.html">Object</a>, R extends @<a href="/reference/dokkatest/toplevel/Wassup.html">Wassup</a> <a href="https://developer.android.com/reference/java/lang/Number.html">Number</a>> <a href="/reference/dokkatest/toplevel/TopKt.html#(kotlin.Function2).foo(kotlin.Any,kotlin.IntArray,kotlin.Function0,kotlin.coroutines.SuspendFunction3)">foo</a>(<br> @<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-extension-function-type/index.html">ExtensionFunctionType</a> @<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> Function2<@<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> T, @<a href="/reference/dokkatest/toplevel/Wassup.html">Wassup</a> @<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/java/lang/Integer.html">Integer</a>, @<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/java/util/List.html">List</a><@<a href="/reference/dokkatest/toplevel/Wassup.html">Wassup</a> @<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> R>> receiver,<br> @<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> T a,<br> int c,<br> @<a href="/reference/dokkatest/toplevel/Wassup.html">Wassup</a>(a = "bar") @<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> 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/-extension-function-type/index.html">ExtensionFunctionType</a> @<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> SuspendFunction3<@<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/java/util/Set.html">Set</a><@<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/java/lang/Boolean.html">Boolean</a>>, @<a href="/reference/androidx/annotation/NonNull.html">NonNull</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="/reference/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/java/util/List.html">List</a><@<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> T>>, @<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> Function1<<a href="https://developer.android.com/reference/java/lang/Double.html">Double</a>, @<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/java/lang/Double.html">Double</a>>, @<a href="/reference/dokkatest/toplevel/Wassup.html">Wassup</a>(f = ["foo"]) @<a href="/reference/androidx/annotation/NonNull.html">NonNull</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"> |
| <colgroup> |
| <col width="40%"> |
| <col> |
| </colgroup> |
| <thead> |
| <tr> |
| <th colspan="100%">Parameters</th> |
| </tr> |
| </thead> |
| <tbody class="list"> |
| <tr> |
| <td><code>@<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-extension-function-type/index.html">ExtensionFunctionType</a> @<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> Function2<@<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> T, @<a href="/reference/dokkatest/toplevel/Wassup.html">Wassup</a> @<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/java/lang/Integer.html">Integer</a>, @<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/java/util/List.html">List</a><@<a href="/reference/dokkatest/toplevel/Wassup.html">Wassup</a> @<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> R>> receiver</code></td> |
| <td> |
| <p>what is even going on here</p> |
| </td> |
| </tr> |
| <tr> |
| <td><code>@<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> T a</code></td> |
| <td> |
| <p>choose your own adventure!</p> |
| </td> |
| </tr> |
| <tr> |
| <td><code>int c</code></td> |
| <td> |
| <p>any number of ints</p> |
| </td> |
| </tr> |
| <tr> |
| <td><code>@<a href="/reference/dokkatest/toplevel/Wassup.html">Wassup</a>(a = "bar") @<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> Function0<Function0<<a href="https://developer.android.com/reference/java/lang/String.html">String</a>>> stuff</code></td> |
| <td> |
| <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/-extension-function-type/index.html">ExtensionFunctionType</a> @<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> SuspendFunction3<@<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/java/util/Set.html">Set</a><@<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/java/lang/Boolean.html">Boolean</a>>, @<a href="/reference/androidx/annotation/NonNull.html">NonNull</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="/reference/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/java/util/List.html">List</a><@<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> T>>, @<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> Function1<<a href="https://developer.android.com/reference/java/lang/Double.html">Double</a>, @<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/java/lang/Double.html">Double</a>>, @<a href="/reference/dokkatest/toplevel/Wassup.html">Wassup</a>(f = ["foo"]) @<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/java/util/Collection.html">Collection</a><R>> block</code></td> |
| <td> |
| <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"> |
| <colgroup> |
| <col width="40%"> |
| <col> |
| </colgroup> |
| <thead> |
| <tr> |
| <th colspan="100%">Returns</th> |
| </tr> |
| </thead> |
| <tbody class="list"> |
| <tr> |
| <td><code>@<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> Function0<<a href="https://developer.android.com/reference/java/util/List.html">List</a><@<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/java/lang/Float.html">Float</a>>></code></td> |
| <td> |
| <p>a list of... something?</p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </div> |
| <div class="devsite-table-wrapper"> |
| <table class="responsive"> |
| <colgroup> |
| <col width="40%"> |
| <col> |
| </colgroup> |
| <thead> |
| <tr> |
| <th colspan="100%">Throws</th> |
| </tr> |
| </thead> |
| <tbody class="list"> |
| <tr> |
| <td><code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-illegal-state-exception/index.html">kotlin.IllegalStateException</a></code></td> |
| <td> |
| <p>because the world is broken</p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </div> |
| <div class="devsite-table-wrapper"> |
| <table class="responsive"> |
| <colgroup> |
| <col width="40%"> |
| <col> |
| </colgroup> |
| <thead> |
| <tr> |
| <th colspan="100%">See also</th> |
| </tr> |
| </thead> |
| <tbody class="list"> |
| <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> |
| <p>it's a lot simpler</p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </div> |
| </div> |
| <div class="api-item"><a name="getHello--"></a><a name="gethello"></a> |
| <div class="api-name-block"> |
| <div> |
| <h3 id="getHello()">getHello</h3> |
| </div> |
| </div> |
| <pre class="api-signature no-pretty-print">public static final @<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> <a href="/reference/dokkatest/toplevel/Foo.html">Foo</a> <a href="/reference/dokkatest/toplevel/TopKt.html#getHello()">getHello</a>()</pre> |
| </div> |
| <div class="api-item"><a name="-kotlin.String-.getWorld--"></a><a name="getworld"></a> |
| <div class="api-name-block"> |
| <div> |
| <h3 id="(kotlin.String).getWorld()">getWorld</h3> |
| </div> |
| </div> |
| <pre class="api-signature no-pretty-print">public static final int <a href="/reference/dokkatest/toplevel/TopKt.html#(kotlin.String).getWorld()">getWorld</a>(@<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/java/lang/String.html">String</a> receiver)</pre> |
| <p>The Wheels on the Bus go round and round...</p> |
| </div> |
| <div class="api-item"><a name="sadBoi--"></a><a name="sadboi"></a> |
| <div class="api-name-block"> |
| <div> |
| <h3 id="sadBoi()">sadBoi</h3> |
| </div> |
| </div> |
| <pre class="api-signature no-pretty-print">public static final @<a href="/reference/androidx/annotation/NonNull.html">NonNull</a> <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> |
| </div> |
| </body> |
| </html> |