org.gwtopenmaps.openlayers.client.util
Class JFloatArray
java.lang.Object
org.gwtopenmaps.openlayers.client.util.JSObjectWrapper
org.gwtopenmaps.openlayers.client.util.JArrayBase
org.gwtopenmaps.openlayers.client.util.JFloatArray
public class JFloatArray
- extends JArrayBase
For incoming Arrays it is also possible to
use JsArrayNumber that is default in GWT.
Note: All native JavaScript numeric values are implicitly double-precision (see JavaDoc JsArrayNumber), so working with floats seems redundant.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JFloatArray
protected JFloatArray(JSObject array)
narrowToJFloatArray
public static JFloatArray narrowToJFloatArray(JSObject array)
get
public float get(int index)
toArray
public float[] toArray()
create
public static JFloatArray create(float[] floats)
push
public void push(float f)
Copyright © 2011 sourceforge. All Rights Reserved.