Package psiprobe

Class UtilsBase


  • public class UtilsBase
    extends Object
    Misc. static helper methods.
    • Method Detail

      • calcPoolUsageScore

        public static int calcPoolUsageScore​(int max,
                                             int value)
        Calc pool usage score.
        Parameters:
        max - the max
        value - the value
        Returns:
        the int
      • toInt

        public static int toInt​(String num,
                                int defaultValue)
        To int.
        Parameters:
        num - the num
        defaultValue - the default value
        Returns:
        the int