Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

import android.content.res.Resources;

public class Main {
    private static long[] getLongIntArray(Resources r, int resid) {
        int[] ar = r.getIntArray(resid);
        long[] out;
        if (ar == null) {
            out = null;
        } else {
            out = new long[ar.length];
            for (int i = 0; i < ar.length; i++)
                out[i] = ar[i];
        }

        return out;
    }
}