Changes between Version 28 and Version 29 of j2p


Ignore:
Timestamp:
06/21/23 10:44:41 (17 months ago)
Author:
wouter
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • j2p

    v28 v29  
    2828The 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.
    2929
    30 ||java||python||remarks||
     30built-in "primitives"
     31||=java=||=python=||=remarks=||
     32||String||str||
    3133||int||int||
    3234||float,Float,double,Double||float||in Java, float and double overflow at different places. Translation may fail if code depends on overflow behaviour||
     
    3436||Map, HashMap||dict||
    3537||Set||set||
     38
     39built-in classes
     40||=java=||=python=||=remarks=||
     41||Class||type||
     42||System||sys||
    3643
    3744