Stringtokenizer
==============
strLine = brAllrna.readLine(); // A
StringTokenizer stringTokenizer = new StringTokenizer(strLine, " \t");
Vector pwmA = new Vector();
while (stringTokenizer.hasMoreElements()) {
Double val = Double.parseDouble(stringTokenizer.nextElement().toString() );
pwmA.add(val);
}
==============
strLine = brAllrna.readLine(); // A
StringTokenizer stringTokenizer = new StringTokenizer(strLine, " \t");
Vector
while (stringTokenizer.hasMoreElements()) {
Double val = Double.parseDouble(stringTokenizer.nextElement().toString() );
pwmA.add(val);
}
Comments
Post a Comment