add: root_automator

This commit is contained in:
hyb1996
2017-08-01 21:42:32 +08:00
parent 8734ae3992
commit 6a3392cfe6
22 changed files with 474 additions and 112 deletions

View File

@@ -1,5 +1,7 @@
package com.stardust.util;
import java.util.List;
/**
* Created by Stardust on 2017/5/8.
*/
@@ -23,4 +25,13 @@ public class ArrayUtils {
}
return unbox;
}
public static String[] toStringArray(List<?> list) {
int i = 0;
String[] str = new String[list.size()];
for (Object o : list) {
str[i] = o == null ? null : o.toString();
}
return str;
}
}