Class SimStatsEntry
- All Implemented Interfaces:
Serializable
A bean to store Simulator version statistics entries.
- Since:
- 8.1
- Version:
- 10.3
- Author:
- Luke
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetSimulator(Simulator s, int legs, int distance, double hours) Sets simulator statistics.Methods inherited from class LegHoursDateStatsEntry
getDate, hashCodeMethods inherited from class LegHoursStatsEntry
getDistance, getHours, getKeys, getLegs, getMaxKey, inc, setModifier and TypeMethodDescriptionintgetDistance(Simulator key) Returns the flight distance for a particular key.doubleReturns the number of flight hours for a particular key.getKeys()Returns tthe available keys.intReturns the number of flight legs for a particular key.protected SimulatorReturns the maximum key value in this bean.protected voidAdds to an existing statistics entry.protected voidAdds a statistics entry.
-
Constructor Details
-
SimStatsEntry
-
-
Method Details
-
setSimulator
Sets simulator statistics.- Parameters:
s- the Simulatorlegs- the number of legsdistance- the flight distance in mileshours- the number of hours
-