продолжение рефакторинга. создал предка для класса current

This commit is contained in:
2024-10-08 00:39:13 +03:00
parent 3516b58127
commit d0c08a2c7e
157 changed files with 648 additions and 421 deletions

View File

@@ -148,7 +148,7 @@ public class CommonUtils {
.mapToObj(Character.UnicodeBlock::of)
.anyMatch(b -> b.equals(Character.UnicodeBlock.CYRILLIC));
}
public static boolean isDigit(String s) {
public static boolean isIntegerValue(String s) {
try {
Integer.parseInt(s);
return true;
@@ -445,4 +445,7 @@ public class CommonUtils {
public static String getDateName(String name_) {
return name_ + "_" + getDateNumber();
}
public static int fromBoolean(boolean flag) {
return flag ? 1 : 0;
}
}