sdk-common / com.tomtom.online.sdk.common.func / BlockWithIndex

BlockWithIndex

interface BlockWithIndex<T : Any!>

Represents a command that can be executed and stores the index.

Functions

apply

abstract fun apply(input: T, index: Int): Unit

Starts executing the active part of the class' code.