public class Key { char inkey; float time; String up; int keycode; public Key(char inkey, int keycode, float time, String up) { this.inkey = inkey; this.time = time; this.up = up; this.keycode = keycode; } public char getInKey() { return inkey; } public int getKeyCode() { return keycode; } public float getTime() { return time; } public String getUp() { return up; } }