промежуточный. в таблицах пакетов открытие текущего пакета по 2 клику

This commit is contained in:
2024-09-26 21:31:18 +03:00
parent 45fcf9b585
commit 1be569e294
9 changed files with 85 additions and 35 deletions

View File

@@ -1288,18 +1288,6 @@ public class Utils {
System.out.println(new Date(dates.lastElement()));
return dates.firstElement();
}
//методы работают только с непустыми запакованными данными
public static Vector<Integer> unpackIntegers(String packed, String separator) {
Vector<Integer> ids = new Vector<>();
String[] data = packed.split(separator);
if (data.length > 0) {
for (String s : data) {
if (!s.isEmpty())
ids.add(Integer.parseInt(s));
}
}
return ids;
}
public static Vector<String> unpack_s(String packed, String separator) {
Vector<String> ids = new Vector<>();
String[] data = packed.split(separator);