diff --git a/.gitignore b/.gitignore index 9154f4c..b1251c2 100644 --- a/.gitignore +++ b/.gitignore @@ -24,3 +24,4 @@ hs_err_pid* replay_pid* +sources.txt \ No newline at end of file diff --git a/Main.java b/Main.java new file mode 100644 index 0000000..7afe5c6 --- /dev/null +++ b/Main.java @@ -0,0 +1,9 @@ +// import java.lang.reflect.Method; +import java.util.*; + +public class Main { + public static Stack> S = new Stack<>(); + public static void main(String[] args){ + // S.push(new Stackitem("Double",4)); + } +} \ No newline at end of file diff --git a/Stackitem.java b/Stackitem.java new file mode 100644 index 0000000..019c937 --- /dev/null +++ b/Stackitem.java @@ -0,0 +1,8 @@ +public class Stackitem { + public String type; + public T value; + public Stackitem(String itemType, T val){ + type = itemType; + value = val; + } +} diff --git a/compile.bat b/compile.bat new file mode 100644 index 0000000..10a572c --- /dev/null +++ b/compile.bat @@ -0,0 +1,2 @@ +dir /s /B *.java > sources.txt +javac @sources.txt \ No newline at end of file diff --git a/functions/NumberCreate.java b/functions/NumberCreate.java new file mode 100644 index 0000000..f3e5d25 --- /dev/null +++ b/functions/NumberCreate.java @@ -0,0 +1,5 @@ +package functions; + +public class NumberCreate { + +} diff --git a/operators/And.java b/operators/And.java new file mode 100644 index 0000000..f66a420 --- /dev/null +++ b/operators/And.java @@ -0,0 +1,7 @@ +package operators; + +public class And { + public And(Boolean first, Boolean second){ + + } +} diff --git a/operators/Minus.java b/operators/Minus.java new file mode 100644 index 0000000..61b136e --- /dev/null +++ b/operators/Minus.java @@ -0,0 +1,7 @@ +package operators; + +public class Minus { + public Minus(Double first, Double second){ + + } +} diff --git a/operators/Or.java b/operators/Or.java new file mode 100644 index 0000000..d633cb3 --- /dev/null +++ b/operators/Or.java @@ -0,0 +1,7 @@ +package operators; + +public class Or { + public Or(Boolean first, boolean second){ + + } +} diff --git a/operators/Plus.java b/operators/Plus.java new file mode 100644 index 0000000..99c73f9 --- /dev/null +++ b/operators/Plus.java @@ -0,0 +1,7 @@ +package operators; + +public class Plus { + public double Plus(Double first, Double second){ + return first + second; + } +}