Lines Matching defs:string
115 * Returns a string containing the supplied unsigned {@code int} values separated by
116 * {@code separator}. For example, {@code join("-", 1, 2, 3)} returns the string {@code "1-2-3"}.
119 * string (but not at the start or end)
193 * Returns the unsigned {@code int} value represented by the given decimal string.
195 * @throws NumberFormatException if the string does not contain a valid unsigned integer, or if
204 * Returns the unsigned {@code int} value represented by a string with the given radix.
206 * @param string the string containing the unsigned integer representation to be parsed.
209 * @throws NumberFormatException if the string does not contain a valid unsigned {@code int}, or
212 public static int parseUnsignedInt(String string, int radix) {
213 checkNotNull(string);
214 long result = Long.parseLong(string, radix);
216 throw new NumberFormatException("Input " + string + " in base " + radix
223 * Returns a string representation of x, where x is treated as unsigned.
230 * Returns a string representation of {@code x} for the given radix, where {@code x} is treated
233 * @param x the value to convert to a string.