Reputation: 5029
I am using Jython within the Gephi package. I would like to have a list of the interfaces that a certain class (from java) is implementing. Is that possible in Jython?
thanks!
Upvotes: 0
Views: 114
Reputation: 78589
The same way you would do it in Java.
For example, to list the name of the interfaces implemented by ArrayList:
from java.util import ArrayList
for interface in ArrayList.getInterfaces():
print interface.getName()
Upvotes: 1