Changes between Version 27 and Version 28 of j2p


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

--

Legend:

Unmodified
Added
Removed
Modified
  • j2p

    v27 v28  
    2424
    2525(2) is currently very partial. The reason is that there are a huge number of java classes and even more 3rd party libraries, and almost every field and function in it will need a specialized translator. This will grow slowly over time as needed.
     26
     27
     28The 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
     30||java||python||remarks||
     31||int||int||
     32||float,Float,double,Double||float||in Java, float and double overflow at different places. Translation may fail if code depends on overflow behaviour||
     33||BigDecimal||Decimal||
     34||Map, HashMap||dict||
     35||Set||set||
    2636
    2737