Class TypeConverter

java.lang.Object
py4j.reflection.TypeConverter

public class TypeConverter extends Object

A TypeConverter converts a Python type into a Java Type. For example, a Python String might be converted to a Java character (e.g., when calling a method that only accepts characters).

Author:
Barthelemy Dagenais
  • Field Details

  • Constructor Details

    • TypeConverter

      public TypeConverter()
    • TypeConverter

      public TypeConverter(int conversion)
  • Method Details

    • convert

      public Object convert(Object obj)
    • getConversion

      public int getConversion()