core.javautils | index

`This module defines several functions to ease interfacing with Java code.
Initially based on resources in the following article http://www.ibm.com/developerworks/java/tutorials/j-jython2/index.html`

Functions

``

map_collection_from_java(coll)
  `Convert a Collection to a List.`

map_dict_to_java(dict)
  `Convert a Dictionary to a Java HashMap.`

map_from_java(object)
  `Convert a Java type to a Jython type.`

map_list_to_java(list)
  `Convert a List to a Java ArrayList.`

map_list_to_java_vector(list)
  `Convert a List to a Java Vector.`

map_map_from_java(map)
  `Convert a Map to a Dictionary.`

map_seq_to_java(seq)
  `Convert a seqence to a Java ArrayList.`

map_set_from_java(set_)
  `Convert a Set to a set.`

map_to_java(object)
  `Convert a Jython type to a Java type.`

Data
`` |  | StringTypes = (<type 'str'>, <type 'unicode'>) __author__ = 'Scott Horn' __credits__ = 'Based entirely on work by Tim Fox http://tfox.org' __email__ = 'scott@hornmicro.com' sys = <module 'sys' (built-in)> util = <java package java.util 0x2>

Author
`` |  | Scott Horn

Credits
`` |  | Based entirely on work by Tim Fox http://tfox.org