Package org.okkam.awesome.utils
Class OkkamChars
- java.lang.Object
-
- org.okkam.awesome.utils.OkkamChars
-
public class OkkamChars extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanisBetween(char start, char end, char toCheck)Check if a char is between a range.static booleanisStrictBetween(char start, char end, char toCheck)Check if a char is strict between a range.
-
-
-
Method Detail
-
isBetween
public static boolean isBetween(char start, char end, char toCheck)Check if a char is between a range.- Parameters:
start- The begin of the rangeend- The end of the rangetoCheck- The element to check- Returns:
- The check result
-
isStrictBetween
public static boolean isStrictBetween(char start, char end, char toCheck)Check if a char is strict between a range.- Parameters:
start- The begin of the rangeend- The end of the rangetoCheck- The element to check- Returns:
- The check result
-
-