Java Vector from String createNodeValueVector(final String val)

Here you can find the source of createNodeValueVector(final String val)

Description

create Node Value Vector

License

Open Source License

Declaration

public static double[] createNodeValueVector(final String val) 

Method Source Code

//package com.java2s;
//License from project: GNU General Public License 

import java.util.*;

public class Main {
    public final static String DELIM = " \t\n\r\f";

    public static double[] createNodeValueVector(final String val) {
        final StringTokenizer tokr = new StringTokenizer(val, DELIM + ",\"");
        return new double[tokr.countTokens()];
    }//from  w  w w. j av a  2s .  c o  m
}

Related

  1. constructFilter(String hostname, Vector schedulertypes)
  2. containSource(Vector sources, String source)
  3. convertStringToVector(String source, String separator)
  4. getKeyStringAsVector(String keyString, String separator)
  5. getposString(Vector vect_valores, String valor)
  6. getStringFromTokens(Vector vector, String delimiter)
  7. implode(Vector handler, String separator)