{% setvar book_path %}/reference/dokkatest/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

TopKt

{% setvar page_path %}dokkatest/toplevel/TopKt.html{% endsetvar %} {% setvar can_switch %}1{% endsetvar %} {% include "reference/_java_switcher2.md" %}

public final class TopKt


Summary

Constants

final static final boolean

Humpty Dumpty sat on a wall...

Public fields

final @NonNull Foo
final int

The Wheels on the Bus go round and round...

Public methods

static final void
a()
static final @NonNull String
b(@Nullable Integer i1, @Nullable String i2, boolean i3, @NonNull Foo foo)

Top level function docs next to a.

static final @Wassup(a = "hello", f = ["world"]) @NonNull Function0<@NonNull List<@NonNull Float>>
<T extends Object, R extends Number> foo(
    @NonNull Function2<@NonNull T, @NonNull Integer, @NonNull List<@NonNull R>> receiver,
    @NonNull T a,
    int c,
    @NonNull Function0<@NonNull Function0<@NonNull String>> stuff,
    @Wassup @NonNull SuspendFunction3<@NonNull Set<@NonNull Boolean>, @NonNull Map<@NonNull String, @NonNull List<@NonNull T>>, @NonNull Function1<@NonNull Double, @NonNull Double>, @NonNull Collection<@NonNull R>> block
)

A brutally difficult function to render.

static final Void

This method is deprecated. This method was too sad.

Constants

bool

@NonNull
public final static final boolean bool

Humpty Dumpty sat on a wall...

Public fields

hello

@NonNull
public final @NonNull Foo hello

world

@NonNull
public final int world

The Wheels on the Bus go round and round...

Public methods

a

@NonNull
public static final void a()

b

@NonNull
public static final String b(@Nullable Integer i1, @Nullable String i2, boolean i3, @NonNull Foo foo)

Top level function docs next to a. This is a second sentence. Talk to world.

foo

@Wassup(a = "hello", f = ["world"])
@NonNull
public static final @Wassup(a = "hello", f = ["world"]) Function0<@NonNull List<@NonNull Float>> <T extends Object, R extends Number> foo(
    @NonNull Function2<@NonNull T, @NonNull Integer, @NonNull List<@NonNull R>> receiver,
    @NonNull T a,
    int c,
    @NonNull Function0<@NonNull Function0<@NonNull String>> stuff,
    @Wassup @NonNull SuspendFunction3<@NonNull Set<@NonNull Boolean>, @NonNull Map<@NonNull String, @NonNull List<@NonNull T>>, @NonNull Function1<@NonNull Double, @NonNull Double>, @NonNull Collection<@NonNull R>> block
)

A brutally difficult function to render. Good luck!

Sarcastic laugh

Parameters
@NonNull Function2<@NonNull T, @NonNull Integer, @NonNull List<@NonNull R>> receiver

what is even going on here

@NonNull T a

choose your own adventure!

int c

any number of ints

@NonNull Function0<@NonNull Function0<@NonNull String>> stuff

lambdas

@Wassup @NonNull SuspendFunction3<@NonNull Set<@NonNull Boolean>, @NonNull Map<@NonNull String, @NonNull List<@NonNull T>>, @NonNull Function1<@NonNull Double, @NonNull Double>, @NonNull Collection<@NonNull R>> block

Lots, and LOTS of lambdas. Oh, and suspending ones too.

Returns
@Wassup(a = "hello", f = ["world"]) Function0<@NonNull List<@NonNull Float>>

a list of... something?

Throws
kotlin.IllegalStateException

because the world is broken

See also
b

it's a lot simpler

sadBoi

@NonNull
public static final Void sadBoi()

I'm so sad, they're deleting me!