package pad.prac1; public class Command { /* * COMMAND DEFINITIONS */ public static final int INSERT_CHAR = 0; public static final int DELETE_CHAR = 1; public static final int MOVE_CURSOR = 2; public static final int NEWLINE = 3; private int type; private int value; public Command(int t, int v) { type = t; value = v; } public Command(int t) { type = t; } public int getType() { return type; } public int getValue() { return value; } }