2017-09-23 23:43:08 -07:00
|
|
|
package org.nwapw.abacus.number.promotion
|
2017-09-01 17:45:32 -07:00
|
|
|
|
2017-09-23 23:43:08 -07:00
|
|
|
import org.nwapw.abacus.number.NumberInterface
|
2017-09-01 17:45:32 -07:00
|
|
|
import org.nwapw.abacus.plugin.NumberImplementation
|
|
|
|
|
2017-09-01 18:32:41 -07:00
|
|
|
/**
|
|
|
|
* 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.
|
|
|
|
*/
|
2017-09-01 17:45:32 -07:00
|
|
|
data class PromotionResult(val promotedTo: NumberImplementation, val items: Array<NumberInterface>)
|