Type equivalences between languages¶
qi type | C++ | Python | Java |
---|---|---|---|
Void | void | NoneType | Void |
Bool | bool | bool | Boolean |
Int# | int#_t | int | Integer |
UInt# | uint#_t | int | Integer |
Float | float | float | Float |
Double | double | float | Double |
String | std::string | str | String |
List<T> | std::vector<T> | list | ArrayList<T> |
Map<T, U> | std::map<T, U> | dict | Map<T, U> |
Object | qi::AnyObject | class instance | qimessaging.Object |
Value | qi::AnyValue | underlying type | Object |