java char <-> int

int = char - '0' or 

Character.getNumericValue(char ch)

char = (char)int

原文地址:https://www.cnblogs.com/lijiale/p/11962956.html