Changes between Version 28 and Version 29 of j2p
- Timestamp:
- 06/21/23 10:44:41 (17 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
j2p
v28 v29 28 28 The mechanism assumes a fixed mapping from java to python objects, as in the table below. This fixed mapping is needed to ensure the translator can be sure which objects will appear on the python side of the translation, so that proper actions can be taken to further the translation. 29 29 30 ||java||python||remarks|| 30 built-in "primitives" 31 ||=java=||=python=||=remarks=|| 32 ||String||str|| 31 33 ||int||int|| 32 34 ||float,Float,double,Double||float||in Java, float and double overflow at different places. Translation may fail if code depends on overflow behaviour|| … … 34 36 ||Map, HashMap||dict|| 35 37 ||Set||set|| 38 39 built-in classes 40 ||=java=||=python=||=remarks=|| 41 ||Class||type|| 42 ||System||sys|| 36 43 37 44