return this.getSoundexMapping()[Character.toUpperCase(c) - 'A'];
char mappedChar = this.map(c);  if (index > 1 && mappedChar != '0') { char hwChar = str.charAt(index-1); if ('H' == hwChar || 'W' == hwChar) { char preHWChar = str.charAt(index - 2); char firstCode = this.map(preHWChar); if (firstCode == mappedChar || 'H' == preHWChar || 'W' == preHWChar) { return 0; } } } return mappedChar;
    private char getMappingCode(char c) {        if (!Character.isLetter(c)) {            return 0;        } else {            return this.getSoundexMapping()[Character.toUpperCase(c) - 'A'];        }    }