package org.springblade.jfpt.nettyTcpServer;
|
|
import io.swagger.models.auth.In;
|
|
public class ParseString {
|
public static Integer[] stringToInts(String s){
|
String[] split = s.split(",");
|
Integer[] n = new Integer[split.length];
|
for(int i = 0;i<split.length;i++){
|
n[i] = Integer.parseInt(split[i]);
|
}
|
return n;
|
}
|
}
|