Package psiprobe
Class UtilsBase
- java.lang.Object
-
- psiprobe.UtilsBase
-
public class UtilsBase extends Object
Misc. static helper methods.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static intcalcPoolUsageScore(int max, int value)Calc pool usage score.static inttoInt(String num, int defaultValue)To int.
-
-
-
Method Detail
-
calcPoolUsageScore
public static int calcPoolUsageScore(int max, int value)Calc pool usage score.- Parameters:
max- the maxvalue- the value- Returns:
- the int
-
toInt
public static int toInt(String num, int defaultValue)
To int.- Parameters:
num- the numdefaultValue- the default value- Returns:
- the int
-
-