Skip to content
Snippets Groups Projects

Resolve "Implement Quarkus/Kotlin protype"

2 files
+ 2
23
Compare changes
  • Side-by-side
  • Inline
Files
2
package theodolite.util
class LoadDimension(val number: Int) { // data class ?
data class LoadDimension(val number: Int) {
public fun get(): Int {
return this.number;
}
public override fun equals(other: Any?): Boolean {
if (other is LoadDimension) {
return this.get() == other.get()
}
return false
}
override fun hashCode(): Int {
return this.get().hashCode()
}
}
Loading