public static float getHologram(FloatArrayMirror mirror, int index) throws Throwable { try { return mirror.getFloat(index); } catch (ArrayIndexOutOfBoundsException e) { throw throwableAsHologram(mirror.getClassMirror().getVM(), e); } }
public static void setHologram(FloatArrayMirror mirror, int index, float f) throws Throwable { try { mirror.setFloat(index, f); } catch (ArrayIndexOutOfBoundsException e) { throw throwableAsHologram(mirror.getClassMirror().getVM(), e); } catch (ArrayStoreException e) { throw throwableAsHologram(mirror.getClassMirror().getVM(), e); } }
@Override public void setFloat(int index, float b) throws ArrayIndexOutOfBoundsException { mirror.setFloat(index, b); }
@Override public float getFloat(int index) throws ArrayIndexOutOfBoundsException { return mirror.getFloat(index); }