Class EnergyPair
Object
EnergyPair
Represents a pair of
Mark
s with their associated total energy.
This class is immutable and automatically generates getters, equals, hashCode, and toString methods via Lombok.
-
Constructor Summary
ConstructorsConstructorDescriptionEnergyPair
(MarkPair<Mark> pair, EnergyTotal energyTotal) Creates a newEnergyPair
instance. -
Method Summary
-
Constructor Details
-
EnergyPair
Creates a newEnergyPair
instance.- Parameters:
pair
- The pair of marks.energyTotal
- The total energy associated with the pair of marks.
-
-
Method Details