List of utility methods to do String Permutation
String | nextPermutation(String f) Create next permutation based on provided. boolean onlyZ = true; for (int i = 0; i < f.length(); ++i) if (f.charAt(i) != 'z') onlyZ = false; if (onlyZ) { String s = ""; for (int i = 0; i <= f.length(); ++i) s = s + 'a'; ... |