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.
16 lines
210 B
16 lines
210 B
4 years ago
|
import jni
|
||
|
try:
|
||
|
ArrayList = jni.cls("java/util/ArrayList")
|
||
|
except:
|
||
|
print("SKIP")
|
||
|
raise SystemExit
|
||
|
|
||
|
l = ArrayList()
|
||
|
print(l)
|
||
|
l.add("one")
|
||
|
l.add("two")
|
||
|
|
||
|
print(l.toString())
|
||
|
print(l)
|
||
|
print(l[0], l[1])
|