tests.java.javatests.Dict2JavaTest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jython-standalone Show documentation
Show all versions of jython-standalone Show documentation
Jython is an implementation of the high-level, dynamic, object-oriented
language Python written in 100% Pure Java, and seamlessly integrated with
the Java platform. It thus allows you to run Python on any Java platform.
/* Copyright (c) Jython Developers */
package javatests;
import java.util.Map;
import java.util.Set;
import java.util.Collection;
import java.util.HashMap;
/**
* This class is used by the test_dict2java.py test script for testing
* the org.python.core.PyDictionary object's java.util.Map. We verifiy
* that the Map interface can be seamlessly passed to java code and
* manipulated in a consistent manner.
*/
public class Dict2JavaTest {
private Map