public abstract class AbstractModelInstance<C extends TimeBasedChargeable> extends Object implements BillingModel.Instance<C>
| 构造器和说明 |
|---|
AbstractModelInstance(ModelProfile modelProfile) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected ModelProfile |
getModelProfile() |
BillingModel.Algorithm<C> |
getWholeTimeAlgorithm() |
List<BillingModel.Fragment<C>> |
slice(Period period,
C chargeable) |
public AbstractModelInstance(ModelProfile modelProfile)
protected ModelProfile getModelProfile()
public BillingModel.Algorithm<C> getWholeTimeAlgorithm()
getWholeTimeAlgorithm 在接口中 BillingModel.Instance<C extends TimeBasedChargeable>public List<BillingModel.Fragment<C>> slice(Period period, C chargeable)
slice 在接口中 BillingModel.Instance<C extends TimeBasedChargeable>period - 计费时段chargeable - 计费对象Copyright © 2020. All rights reserved.