-
- All Implemented Interfaces:
public class HarvestStatisticsManages statistics about harvesting time.
-
-
Field Summary
Fields Modifier and Type Field Description private intharvestCountprivate inttotalCandidateCount
-
Method Summary
Modifier and Type Method Description intgetHarvestCount()Returns the number of harvests that the harvester associated with these statistics has completed so far. intgetTotalCandidateCount()Returns the number of candidates gathered by the associated harvester. longgetHarvestDuration()Returns the current harvesting time in ms. StringgetName()Returns the name of the associated harvester. StringtoString()Returns a string representation of these statistics in a concise format. -
-
Method Detail
-
getHarvestCount
int getHarvestCount()
Returns the number of harvests that the harvester associated with these statistics has completed so far.
-
getTotalCandidateCount
int getTotalCandidateCount()
Returns the number of candidates gathered by the associated harvester.
-
getHarvestDuration
long getHarvestDuration()
Returns the current harvesting time in ms. If this harvester is not currently harvesting, then returns the value of the last harvesting time. 0 if this harvester has never harvested.
-
-
-
-