Merge "Use HashSet to hold keys in Keyboard"
This commit is contained in:
commit
02e70cf999
1 changed files with 2 additions and 1 deletions
|
@ -41,6 +41,7 @@ import java.io.IOException;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
|
import java.util.HashSet;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
|
@ -225,7 +226,7 @@ public class Keyboard {
|
||||||
public int GRID_WIDTH;
|
public int GRID_WIDTH;
|
||||||
public int GRID_HEIGHT;
|
public int GRID_HEIGHT;
|
||||||
|
|
||||||
public final ArrayList<Key> mKeys = new ArrayList<Key>();
|
public final HashSet<Key> mKeys = new HashSet<Key>();
|
||||||
public final ArrayList<Key> mShiftKeys = new ArrayList<Key>();
|
public final ArrayList<Key> mShiftKeys = new ArrayList<Key>();
|
||||||
public final ArrayList<Key> mAltCodeKeysWhileTyping = new ArrayList<Key>();
|
public final ArrayList<Key> mAltCodeKeysWhileTyping = new ArrayList<Key>();
|
||||||
public final KeyboardIconsSet mIconsSet = new KeyboardIconsSet();
|
public final KeyboardIconsSet mIconsSet = new KeyboardIconsSet();
|
||||||
|
|
Loading…
Reference in a new issue