Record Class ScenarioBand.Case
java.lang.Object
java.lang.Record
com.eqixiac.equinix.design.cost.ScenarioBand.Case
- Record Components:
name- low, base or highannualGrowth- the growth rate (fraction)egressFactor- the egress-volume factor (1 = the spec's volume)totalOverHorizon- the on-demand total, ornullwhen a month is unpricedfinalMonthly- the last month's total, ornullunpriced- what could not be priced in this case
- Enclosing class:
ScenarioBand
public static record ScenarioBand.Case(String name, double annualGrowth, double egressFactor, BigDecimal totalOverHorizon, BigDecimal finalMonthly, List<String> unpriced)
extends Record
One deterministic case.
-
Constructor Summary
ConstructorsConstructorDescriptionCase(String name, double annualGrowth, double egressFactor, BigDecimal totalOverHorizon, BigDecimal finalMonthly, List<String> unpriced) Copies the list. -
Method Summary
Modifier and TypeMethodDescriptiondoubleReturns the value of theannualGrowthrecord component.doubleReturns the value of theegressFactorrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefinalMonthlyrecord component.final inthashCode()Returns a hash code value for this object.name()Returns the value of thenamerecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thetotalOverHorizonrecord component.unpriced()Returns the value of theunpricedrecord component.
-
Constructor Details
-
Case
public Case(String name, double annualGrowth, double egressFactor, BigDecimal totalOverHorizon, BigDecimal finalMonthly, List<String> unpriced) Copies the list.
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
name
-
annualGrowth
public double annualGrowth()Returns the value of theannualGrowthrecord component.- Returns:
- the value of the
annualGrowthrecord component
-
egressFactor
public double egressFactor()Returns the value of theegressFactorrecord component.- Returns:
- the value of the
egressFactorrecord component
-
totalOverHorizon
Returns the value of thetotalOverHorizonrecord component.- Returns:
- the value of the
totalOverHorizonrecord component
-
finalMonthly
Returns the value of thefinalMonthlyrecord component.- Returns:
- the value of the
finalMonthlyrecord component
-
unpriced
-