public static Letter[] getPostionLetters(int x, int y) { char[] tx = (x + ":" + y).toCharArray(); Letter[] ret = new Letter[tx.length]; for (int i = 0; i < ret.length; i++) { Letter re = new Letter(); re.setDecodedValue("" + tx[i]); LetterComperator let = new LetterComperator(re, re); let.setValityPercent(0); re.detected = let; ret[i] = re; } return ret; }