2012年6月25日 - you can easily do it with parseInt with format parameter. Integer.parseInt("-FF", 16) ; // returns -255. javadoc Integer ...
stackoverflow.com