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

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

View File

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

View File

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

View File

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

View File

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