- toBoolean() - Method in class com.chaquo.python.PyObject
-
Converts a Python bool to a Java boolean.
- toByte() - Method in class com.chaquo.python.PyObject
-
Converts a Python int to a Java byte.
- toChar() - Method in class com.chaquo.python.PyObject
-
Converts a 1-character Python string to a Java char.
- toDouble() - Method in class com.chaquo.python.PyObject
-
Converts a Python float or int to a Java double.
- toFloat() - Method in class com.chaquo.python.PyObject
-
Converts a Python float or int to a Java float.
- toInt() - Method in class com.chaquo.python.PyObject
-
Converts a Python int to a Java int.
- toJava(Class<T>) - Method in class com.chaquo.python.PyObject
-
Converts the Python object to the given Java type.
- toLong() - Method in class com.chaquo.python.PyObject
-
Converts a Python int to a Java long.
- toShort() - Method in class com.chaquo.python.PyObject
-
Converts a Python int to a Java short.
- toString() - Method in class com.chaquo.python.PyObject
-
Equivalent to Python str().
- type() - Method in class com.chaquo.python.PyObject
-
Equivalent to Python type().