## Uses of Class
py4j.ReturnObject

- Packages that use ReturnObject
  Package | Description
  --- | ---
  py4j |
  py4j.commands |

- - ### Uses of ReturnObject in py4j

    Methods in py4j that return ReturnObject
    Modifier and Type | Method and Description
    --- | ---
    `static ReturnObject` | ReturnObject.`getArrayReturnObject(String name, int size)`
    `static ReturnObject` | ReturnObject.`getDecimalReturnObject(Object object)`
    `static ReturnObject` | ReturnObject.`getErrorReferenceReturnObject(String name)`
    `static ReturnObject` | ReturnObject.`getErrorReturnObject()`
    `static ReturnObject` | ReturnObject.`getErrorReturnObject(Throwable throwable)`
    `static ReturnObject` | ReturnObject.`getIteratorReturnObject(String name)`
    `static ReturnObject` | ReturnObject.`getListReturnObject(String name, int size)`
    `static ReturnObject` | ReturnObject.`getMapReturnObject(String name, int size)`
    `static ReturnObject` | ReturnObject.`getNullReturnObject()`
    `static ReturnObject` | ReturnObject.`getPrimitiveReturnObject(Object primitive)`
    `static ReturnObject` | ReturnObject.`getReferenceReturnObject(String name)`
    `ReturnObject` | Gateway.`getReturnObject(Object object)`
    `static ReturnObject` | ReturnObject.`getSetReturnObject(String name, int size)`
    `static ReturnObject` | ReturnObject.`getVoidReturnObject()`
    `ReturnObject` | Gateway.`invoke(String fqn, List<Object> args)` Invokes a constructor and returned the constructed object.
    `ReturnObject` | Gateway.`invoke(String methodName, String targetObjectId, List<Object> args)` Invokes a method.

    Methods in py4j with parameters of type ReturnObject
    Modifier and Type | Method and Description
    --- | ---
    `static String` | Protocol.`getOutputCommand(ReturnObject rObject)`

  - ### Uses of ReturnObject in py4j.commands

    Methods in py4j.commands that return ReturnObject
    Modifier and Type | Method and Description
    --- | ---
    `protected ReturnObject` | ConstructorCommand.`invokeConstructor(String fqn, List<Object> arguments)`
    `protected ReturnObject` | AbstractCommand.`invokeMethod(String methodName, String targetObjectId, List<Object> arguments)` Convenient shortcut to invoke a method dynamically.