Package-level declarations

Types

Link copied to clipboard
class HashCodeBuilder(initialValue: Int = 31, multiplier: Int = 31)

A utility class for building hash codes using a custom algorithm.

Link copied to clipboard

Defines the various formats for class name representation.

Properties

Link copied to clipboard

Retrieves the global Context.

Link copied to clipboard

Retrieves the current Activity context.

Link copied to clipboard

Extension property that provides the platform-specific name for the class.

Functions

Link copied to clipboard
inline fun buildHashCode(initialValue: Int = 31, multiplier: Int = 31, builderAction: HashCodeBuilder.() -> Unit): Int

Creates a hash code using a custom builder action.

Link copied to clipboard
inline fun buildLazyHashCode(crossinline initializer: HashCodeBuilder.() -> Unit): Lazy<Int>

Creates a lazy hash code using a builder initializer function.

Link copied to clipboard
actual fun KClass<*>.getFormattedName(format: NameFormat): String?

Provides the class name in a specified format. The format parameter allows for different naming conventions, including fully qualified names, simple names, and platform-specific formats.

expect fun KClass<*>.getFormattedName(format: NameFormat = NameFormat.QUALIFIED): String?

Provides the class name in a specified format. The format parameter allows for different naming conventions, including fully qualified names, simple names, and platform-specific formats.

actual fun KClass<*>.getFormattedName(format: NameFormat): String?

Provides the class name in a specified format. The format parameter allows for different naming conventions, including fully qualified names, simple names, and platform-specific formats.

actual fun KClass<*>.getFormattedName(format: NameFormat): String?

Provides the class name in a specified format. The format parameter allows for different naming conventions, including fully qualified names, simple names, and platform-specific formats.

actual fun KClass<*>.getFormattedName(format: NameFormat): String?

Provides the class name in a specified format. The format parameter allows for different naming conventions, including fully qualified names, simple names, and platform-specific formats.

actual fun KClass<*>.getFormattedName(format: NameFormat): String?

Provides the class name in a specified format. The format parameter allows for different naming conventions, including fully qualified names, simple names, and platform-specific formats.

Link copied to clipboard
fun lazyHashCode(initializer: () -> Int): Lazy<Int>

Creates a lazy hash code using an initializer function.