Skip to content

Library moduleopensavvy.dokka.material.mkdocs.exampleExample

Example

class Example

This class is an example to see how the documentation website is generated.

Example

Example().foo("Hello") shouldBe "Hello world!"

Another example:

class Foo {
    public static void main(String[] args) {
        System.out.println("Hello world!" + 3 + true);
    }
}

Constructors

Example

constructor(s: String)

Secondary constructor.

constructor()

Public constructor for the Example class.

Properties

counter

var counter: Int

A value that increments by one each time it is accessed.

Functions

foo

fun foo(number: Int): Boolean

Some other documentation.

fun foo(bar: String): Boolean

This is an example function.

foo2

inline suspend fun <T> ExampleAlias.foo2(): T

Extension function for ExampleAlias.