Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

import java.util.Vector;

public class Main {
    public static Vector<Long> convertToVectorOfLongs(long[] a_aLongArray)
    /*     */ {
        /* 487 */Vector vecReturn = null;
        /* 488 */if (a_aLongArray != null)
        /*     */ {
            /* 490 */vecReturn = new Vector(a_aLongArray.length);
            /* 491 */for (long lLong : a_aLongArray)
            /*     */ {
                /* 493 */vecReturn.add(Long.valueOf(lLong));
                /*     */}
            /*     */}
        /*     */
        /* 497 */return vecReturn;
        /*     */}
}