Package psiprobe

Class UtilsBase

java.lang.Object
psiprobe.UtilsBase

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

    • 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