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