dalvik.system.VMRuntime Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of firebase-java-sdk Show documentation
Show all versions of firebase-java-sdk Show documentation
The Firebase Java SDK is a pure java port of the Firebase Android SDK to run in clientside java environments such as the desktop.
The newest version!
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 - 2025 Weber Informatics LLC | Privacy Policy