Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

public class Main {
    public static Double[] stringToDoubleArr(String str, String delimeter) {
        String[] strArr = str.split(delimeter);
        Double[] doubleArr = new Double[strArr.length];
        for (int i = 0; i < strArr.length; i++) {
            doubleArr[i] = Double.parseDouble(strArr[i]);
        }
        return doubleArr;
    }
}