code: public static final int parseInt(CharSequence cs)
      {
          if (CharSequences.startsWith(cs, "0b"))
          {
              return parseInt(cs, 2, 2, cs.length());
          }
          if (CharSequences.startsWith(cs, "0x"))
          {
              return parseInt(cs, 16, 2, cs.length());
          }
          return parseInt(cs, 10);
      }
docs: Equal to calling parseInt(cs, 10).
  @param cs
  @return
  @throws java.lang.NumberFormatException if input cannot be parsed to proper
  int.
  @see java.lang.Integer#parseInt(java.lang.String)
  @see java.lang.Character#digit(int, int)