mirror of
https://github.com/qaiu/netdisk-fast-download.git
synced 2026-11-26 23:27:00 +00:00
版本更新至0.1.7,启用h2db,添加统计功能,框架优化
This commit is contained in:
1 parent
6706380558
commit
66de667fc3
65 files changed
+752
-270
No files matched your search
@@ -0,0 +1,20 @@
|
||||
package cn.qaiu.util;
|
||||
|
||||
public class ArrayUtil {
|
||||
|
||||
public static int[] parseIntArray(String[] arr) {
|
||||
int[] ints = new int[arr.length];
|
||||
for (int i = 0; i < ints.length; i++) {
|
||||
ints[i] = Integer.parseInt(arr[i]);
|
||||
}
|
||||
return ints;
|
||||
}
|
||||
|
||||
public static float[] parseFloatArray(String[] arr) {
|
||||
float[] ints = new float[arr.length];
|
||||
for (int i = 0; i < ints.length; i++) {
|
||||
ints[i] = Float.parseFloat(arr[i]);
|
||||
}
|
||||
return ints;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user