py4j.java_collections
— Py4J Collections API¶The py4j.java_collections
module maps Python collection classes with Java
collection classes. These classes should practically never be directly
instantiated by users: they are automatically used when receiving, for example,
a Java list.