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

TopKt

public final class TopKt


Summary

Constants

static final boolean
bool = true

Humpty Dumpty sat on a wall...

Public methods

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

Top level function docs next to a.

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

A brutally difficult function to render.

static final @NonNull Foo
static final int
getWorld(@NonNull String receiver)

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

static final @NonNull Void

This method is deprecated. This method was too sad.

Constants

bool

public static final boolean bool = true

Humpty Dumpty sat on a wall...

Public methods

a

public static final void a()

b

public static final @NonNull String b(Integer i1, 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"])
public static final @NonNull Function0<List<@NonNull Float>> <T extends Object, R extends @Wassup Number> foo(
    @ExtensionFunctionType @NonNull Function2<@NonNull T, @Wassup @NonNull Integer, @NonNull List<@Wassup @NonNull R>> receiver,
    @NonNull T a,
    int c,
    @Wassup(a = "bar") @NonNull Function0<Function0<String>> stuff,
    @Wassup @ExtensionFunctionType @NonNull SuspendFunction3<@NonNull Set<@NonNull Boolean>, @NonNull Map<String, @NonNull List<@NonNull T>>, @NonNull Function1<Double, @NonNull Double>, @Wassup(f = ["foo"]) @NonNull Collection<R>> block
)

A brutally difficult function to render. Good luck!

Sarcastic laugh

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

what is even going on here

@NonNull T a

choose your own adventure!

int c

any number of ints

@Wassup(a = "bar") @NonNull Function0<Function0<String>> stuff

lambdas

@Wassup @ExtensionFunctionType @NonNull SuspendFunction3<@NonNull Set<@NonNull Boolean>, @NonNull Map<String, @NonNull List<@NonNull T>>, @NonNull Function1<Double, @NonNull Double>, @Wassup(f = ["foo"]) @NonNull Collection<R>> block

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

Returns
@NonNull Function0<List<@NonNull Float>>

a list of... something?

Throws
kotlin.IllegalStateException

because the world is broken

See also
b

it's a lot simpler

getHello

public static final @NonNull Foo getHello()

getWorld

public static final int getWorld(@NonNull String receiver)

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

sadBoi

public static final @NonNull Void sadBoi()

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