void (String text, List<TextRange> result, int i, int s) { if (i - s > 3) { final TextRange textRange = new TextRange(s, i); //System.out.println("textRange = " + textRange + " = "+ textRange.substring(text)); result.add(textRange); } }