mirror of https://github.com/kivy/pyjnius.git
back to getMethods
This commit is contained in:
parent
a9e5dbc565
commit
c2316cf00e
|
@ -219,7 +219,7 @@ def autoclass(clsname):
|
|||
|
||||
cls = c
|
||||
while cls is not None:
|
||||
methods = cls.getDeclaredMethods()
|
||||
methods = cls.getMethods()
|
||||
methods_name = [x.getName() for x in methods]
|
||||
|
||||
for index, method in enumerate(methods):
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
from jnius import autoclass
|
||||
from jnius import autoclass, cast
|
||||
|
||||
|
||||
def test_465():
|
||||
arraylist = autoclass("java.util.ArrayList")()
|
||||
arraylist.iterator()
|
||||
cast('java.util.Collection', arraylist).stream()
|
||||
arraylist.stream()
|
||||
|
|
Loading…
Reference in New Issue