/** * Pushes a boolean value to the next available spot in the Array. In * particular, this[length] = value; * * @param value The value to push to the array. * * @return The receiver. */ public V8Array push(final boolean value) { v8.checkThread(); checkReleased(); v8.addArrayBooleanItem(v8.getV8RuntimePtr(), getHandle(), value); return this; }
v8.addArrayDoubleItem(v8.getV8RuntimePtr(), getHandle(), ((Number) value).doubleValue()); } else if (value instanceof Boolean) { v8.addArrayBooleanItem(v8.getV8RuntimePtr(), getHandle(), (Boolean) value); } else if (value instanceof String) { v8.addArrayStringItem(v8.getV8RuntimePtr(), getHandle(), (String) value);
/** * Pushes a boolean value to the next available spot in the Array. In * particular, this[length] = value; * * @param value The value to push to the array. * * @return The receiver. */ public V8Array push(final boolean value) { v8.checkThread(); checkReleased(); v8.addArrayBooleanItem(v8.getV8RuntimePtr(), getHandle(), value); return this; }
v8.addArrayDoubleItem(v8.getV8RuntimePtr(), getHandle(), ((Number) value).doubleValue()); } else if (value instanceof Boolean) { v8.addArrayBooleanItem(v8.getV8RuntimePtr(), getHandle(), (Boolean) value); } else if (value instanceof String) { v8.addArrayStringItem(v8.getV8RuntimePtr(), getHandle(), (String) value);
/** * Pushes a boolean value to the next available spot in the Array. In * particular, this[length] = value; * * @param value The value to push to the array. * * @return The receiver. */ public V8Array push(final boolean value) { v8.checkThread(); checkReleased(); v8.addArrayBooleanItem(v8.getV8RuntimePtr(), getHandle(), value); return this; }
/** * Pushes a boolean value to the next available spot in the Array. In * particular, this[length] = value; * * @param value The value to push to the array. * * @return The receiver. */ public V8Array push(final boolean value) { v8.checkThread(); checkReleased(); v8.addArrayBooleanItem(v8.getV8RuntimePtr(), getHandle(), value); return this; }