public static Value hexdec(String s)
public static long hexdec(String s)
  public static Value hexdec(String s)  {    long v = 0;    int len = s.length();    for (int i = 0; i < len; i++) {      char ch = s.charAt(i);      if ('0' <= ch && ch <= '9')        v = 16 * v + ch - '0';      else if ('a' <= ch && ch <= 'f')        v = 16 * v + ch - 'a' + 10;      else if ('A' <= ch && ch <= 'F')        v = 16 * v + ch - 'A' + 10;    }    return new LongValue(v);  }