Package 

Class HarvestStatistics

  • All Implemented Interfaces:

    
    public class HarvestStatistics
    
                        

    Manages statistics about harvesting time.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      int getHarvestCount() Returns the number of harvests that the harvester associated with these statistics has completed so far.
      int getTotalCandidateCount() Returns the number of candidates gathered by the associated harvester.
      long getHarvestDuration() Returns the current harvesting time in ms.
      String getName() Returns the name of the associated harvester.
      String toString() Returns a string representation of these statistics in a concise format.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • 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.

      • getName

         String getName()

        Returns the name of the associated harvester.

      • toString

         String toString()

        Returns a string representation of these statistics in a concise format.