You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
215 B
17 lines
215 B
9 years ago
|
import sys
|
||
|
import jni
|
||
|
try:
|
||
|
ArrayList = jni.cls("java/util/ArrayList")
|
||
|
except:
|
||
|
print("SKIP")
|
||
|
sys.exit()
|
||
|
|
||
|
l = ArrayList()
|
||
|
print(l)
|
||
|
l.add("one")
|
||
|
l.add("two")
|
||
|
|
||
|
print(l.toString())
|
||
|
print(l)
|
||
|
print(l[0], l[1])
|