Class Encoder

    • Constructor Detail

      • Encoder

        public Encoder​(PyObject[] args,
                       java.lang.String[] kwds)
    • Method Detail

      • __call__

        public PyObject __call__​(PyObject obj)
        Description copied from class: PyObject
        A variant of the __call__ method with one argument. The default behavior is to invoke __call__(args, keywords) with the appropriate arguments. The only reason to override this function would be for improved performance.
        Overrides:
        __call__ in class PyObject
        Parameters:
        obj - the single argument to the function.
      • __call__

        public PyObject __call__​(PyObject obj,
                                 PyObject indent_level)
        Description copied from class: PyObject
        A variant of the __call__ method with two arguments. The default behavior is to invoke __call__(args, keywords) with the appropriate arguments. The only reason to override this function would be for improved performance.
        Overrides:
        __call__ in class PyObject
        Parameters:
        obj - the first argument to the function.
        indent_level - the second argument to the function.