-
Notifications
You must be signed in to change notification settings - Fork 355
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a generic push(Object object) to V8Array
To allow V8Arrays to be constructed more easily, add a generic push(Object object) method to V8Array. Push will inspect the type of object being used, and properly add that object to the underlying V8Array. If a non-compatible Object is passed to push, then an IllegalArgumentException is thrown. This was originally contributed by @TonyRice in PR #259. Change-Id: I193bf99a29283899f7315a28c1fe989edd87eb1e
- Loading branch information
Showing
2 changed files
with
132 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters