modified: ../../../target/JavaTXcompiler-0.1-jar-with-dependencies.jar

modified:   Fac.jav
	modified:   Faculty.jav
	modified:   OL.jav
	modified:   While.jav
	modified:   ../../javFiles/AddLong.jav
This commit is contained in:
Martin Plümicke 2018-05-30 00:27:20 +02:00
parent 97d893e66b
commit bb26112a9b
6 changed files with 9 additions and 7 deletions

View File

@ -4,7 +4,7 @@ import java.lang.Double;
public class Fac { public class Fac {
getFac(n){ java.lang.Long getFac(n){
var res = 1; var res = 1;
var i = 1; var i = 1;
while(i<=n) { while(i<=n) {

View File

@ -1,3 +1,5 @@
import java.lang.Integer;
class Faculty { class Faculty {
Integer mul(Integer x, Integer y) { Integer mul(Integer x, Integer y) {

View File

@ -1,10 +1,10 @@
import java.lang.Integer; import java.lang.Integer;
import java.lang.Double; import java.lang.Double;
import java.lang.Boolean;
class OL { class OL {
m(x) { return x + x; } m(java.lang.Double x) { return x + x; }
//m(x) { return x || x; } //m(x) { return x || x; }

View File

@ -5,7 +5,7 @@ import java.lang.Integer;
import java.lang.Long; import java.lang.Long;
public class While { public class While {
m(x) { Integer m(x) {
while(x < 2) { while(x < 2) {
x = x+1; x = x+1;
} }

View File

@ -2,7 +2,7 @@ import java.lang.Integer;
import java.lang.Long; import java.lang.Long;
public class AddLong{ public class AddLong{
add(Integer a, Long b) { Long add(Integer a, Long b) {
Long c = a+b; Long c = a+b;
return c; return c;
} }