All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.com.saveourtool.save.test.analysis.metrics.NoDataAvailable.kt Maven / Gradle / Ivy

The newest version!
package com.saveourtool.save.test.analysis.metrics

import kotlin.jvm.JvmStatic
import kotlinx.serialization.Serializable

/**
 * This is a `class` (and not an `object`) due to limitations of _JS Legacy_.
 */
@Serializable
class NoDataAvailable private constructor() : TestMetrics() {
    override fun equals(other: Any?): Boolean =
            other is NoDataAvailable

    override fun hashCode(): Int =
            this::class.hashCode()

    override fun toString(): String =
            this::class.simpleName ?: super.toString()

    companion object {
        @JvmStatic
        val instance = NoDataAvailable()
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy