Class StatUtil

  • All Implemented Interfaces:

    
    public final class StatUtil
    
                        

    Utility to translate statistics names into a UnivariateStatistic.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      static Optional<UnivariateStatistic> makeUnivariateStatistic(String name)
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • makeUnivariateStatistic

         static Optional<UnivariateStatistic> makeUnivariateStatistic(String name)
        Parameters:
        name - the statistic
        Returns:

        a new instance of the corresponding UnivariateStatistic wrapped in a Optional, if one exists; empty otherwise.