Class EnergyPair
Object
EnergyPair
Represents a pair of
Marks 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 newEnergyPairinstance. -
Method Summary
-
Constructor Details
-
EnergyPair
Creates a newEnergyPairinstance.- Parameters:
pair- The pair of marks.energyTotal- The total energy associated with the pair of marks.
-
-
Method Details