Record Class DesignDecisionRecord.NearestOption
java.lang.Object
java.lang.Record
com.eqixiac.equinix.design.record.DesignDecisionRecord.NearestOption
- Record Components:
portfolio- its keydistance- Euclidean distance over the 0..100 scoresdeltas- per objective, its value minus the recommendation's (in the objective's unit)
- Enclosing class:
DesignDecisionRecord
-
Constructor Summary
ConstructorsConstructorDescriptionNearestOption(String portfolio, double distance, Map<String, Double> deltas) Copies the map. -
Method Summary
Modifier and TypeMethodDescriptiondeltas()Returns the value of thedeltasrecord component.doubledistance()Returns the value of thedistancerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theportfoliorecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
NearestOption
-
-
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. -
portfolio
-
distance
-
deltas
-