промежуточный. в таблицах пакетов открытие текущего пакета по 2 клику
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user