mirror of https://github.com/DanilaFe/abacus
12 lines
452 B
Kotlin
12 lines
452 B
Kotlin
package org.nwapw.abacus.number.promotion
|
|
|
|
import org.nwapw.abacus.number.NumberInterface
|
|
import org.nwapw.abacus.plugin.NumberImplementation
|
|
|
|
/**
|
|
* The result of promoting an array of NumberInterfaces.
|
|
*
|
|
* @param promotedTo the implementation to which the numbers were promoted.
|
|
* @param items the items the items resulting from the promotion.
|
|
*/
|
|
data class PromotionResult(val promotedTo: NumberImplementation, val items: Array<NumberInterface>) |