Java Char Convert To charToDigit(char c)

Here you can find the source of charToDigit(char c)

Description

char To Digit

License

Open Source License

Declaration

private static int charToDigit(char c) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    public static final String CODEX = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";

    private static int charToDigit(char c) {
        return CODEX.indexOf(c);
    }//from   ww  w.jav  a  2 s.  c om
}

Related

  1. charToCDATA(char ch)
  2. charToCompressedBaseLow(final int base)
  3. charToCompressedBaseLow(final int base)
  4. charToCp1252(char c)
  5. charToDecimal(char c)
  6. charToEscape(char ch)
  7. charToHTML(char ch, boolean xml)
  8. charToLong(final char value)
  9. charToLowerCase(char c)