org.gwtopenmaps.openlayers.client.util.JIntArrayImpl Maven / Gradle / Ivy
package org.gwtopenmaps.openlayers.client.util;
class JIntArrayImpl
{
public static native void arraySet(JSObject array, int index, int value) /*-{
array[index] = value;
}-*/;
public static native int getAsInt(JSObject array, int pos)/*-{
if (array) return array[pos];
return 0;
}-*/;
public static native void push(JSObject array, int i)/*-{
array.push(i);
}-*/;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy