/**
*
*/
package net.dxtek.toutiao.job;
/**
* @author spz
*
*/
public class KeyGenerator {
private static final String DIC = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";
public static String getKey(String maxA0100){
String result = maxA0100.toUpperCase();
int len = maxA0100.length();
char[] ch=null;
for(int i = len-1;i>=0;i--){
char c = maxA0100.toUpperCase().charAt(i);
char nextChar = 0;
if (c == 'Z'){//需要进位
nextChar = '0';
if(isSameChars(result)){
result="1"+result;
ch =result.toCharArray();
for(int j=0;j<len;j+&#
*
*/
package net.dxtek.toutiao.job;
/**
* @author spz
*
*/
public class KeyGenerator {
private static final String DIC = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";
public static String getKey(String maxA0100){
String result = maxA0100.toUpperCase();
int len = maxA0100.length();
char[] ch=null;
for(int i = len-1;i>=0;i--){
char c = maxA0100.toUpperCase().charAt(i);
char nextChar = 0;
if (c == 'Z'){//需要进位
nextChar = '0';
if(isSameChars(result)){
result="1"+result;
ch =result.toCharArray();
for(int j=0;j<len;j+&#