Package psiprobe
Class UtilsBase
java.lang.Object
psiprobe.UtilsBase
Misc. static helper methods.
-
Method Summary
Modifier and TypeMethodDescriptionstatic int
calcPoolUsageScore
(int max, int value) Calc pool usage score.static int
To int.
-
Method Details
-
calcPoolUsageScore
public static int calcPoolUsageScore(int max, int value) Calc pool usage score.- Parameters:
max
- the maxvalue
- the value- Returns:
- the int
-
toInt
To int.- Parameters:
num
- the numdefaultValue
- the default value- Returns:
- the int
-