'Simplified' decoder by using switches

This commit is contained in:
Darkress
2023-05-09 02:03:25 +02:00
committed by DarkressX
parent aea57b5eec
commit f575fc81c9
2 changed files with 124 additions and 97 deletions

View File

@@ -3,10 +3,7 @@
class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello, World!");
String input = "9";
CommandDecoder commandDecoder = new CommandDecoder();
commandDecoder.CommandDecoder(input);
int binaryInput = Integer.parseInt(input);
System.out.println(binaryInput);
int input = Integer.decode("0x0070");
CommandDecoder commandDecoder = new CommandDecoder(input);
}
}