commonMain.com.dshatz.fuzzykat.diffutils.model.BoundExtractedResult.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fuzzyKat-jvm Show documentation
Show all versions of fuzzyKat-jvm Show documentation
Fuzzy search for Kotlin Multiplatform
The newest version!
package com.dshatz.fuzzykat.diffutils.model
class BoundExtractedResult(val referent: T, var string: String?, val score: Int, val index: Int) : Comparable> {
override fun toString(): String {
return "(string: $string, score: $score, index: $index)"
}
override fun compareTo(other: BoundExtractedResult): Int {
return this.score.compareTo(other.score)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy