Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;
//License from project: Open Source License 

public class Main {
    public static long[] parseLongIDs(String delimitedIDs, String delimiter) {
        final String[] split = delimitedIDs.split(delimiter);
        final long[] idArray = new long[split.length];
        for (int i = 0; i < split.length; i++)
            idArray[i] = Long.parseLong(split[i]);
        return idArray;
    }
}