mirror of
https://github.com/cincheo/jsweet.git
synced 2025-12-15 15:29:22 +00:00
added forgotten $set on arrays
This commit is contained in:
parent
11c8062111
commit
6867013d68
@ -379,6 +379,8 @@ public class Array<T> extends def.js.Object implements Iterable<T> {
|
|||||||
|
|
||||||
native public T $get(int n);
|
native public T $get(int n);
|
||||||
|
|
||||||
|
native public T $set(int n, T value);
|
||||||
|
|
||||||
public Array(int arrayLength) {
|
public Array(int arrayLength) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -394,6 +394,8 @@ public class Array<T> extends Iterable<T> implements java.lang.Iterable<T> {
|
|||||||
|
|
||||||
native public T $get(int n);
|
native public T $get(int n);
|
||||||
|
|
||||||
|
native public T $set(int n, T value);
|
||||||
|
|
||||||
public Array(int arrayLength) {
|
public Array(int arrayLength) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user