All Downloads are FREE. Search and download functionalities are using the official Maven repository.

dalvik.system.VMRuntime Maven / Gradle / Ivy

package dalvik.system;

import com.android.internal.util.ArrayUtils;

import java.util.Arrays;

public class VMRuntime {
    public static VMRuntime getRuntime() {
        return new VMRuntime();
    }

    public  Object newUnpaddedArray(Class clazz, int minLen) {
        if(clazz == int.class) return new int[minLen];
        return new Object[minLen];
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy