Home
last modified time | relevance | path

Searched refs:parseUnsignedByte (Results 1 – 2 of 2) sorted by relevance

/external/guava/guava-tests/test/com/google/common/primitives/
DUnsignedBytesTest.java133 UnsignedBytes.parseUnsignedByte(value); in assertParseFails()
142 assertEquals((byte) i, UnsignedBytes.parseUnsignedByte(Integer.toString(i))); in testParseUnsignedByte()
157 UnsignedBytes.parseUnsignedByte(value, radix); in assertParseFails()
167 assertEquals((byte) i, UnsignedBytes.parseUnsignedByte(Integer.toString(i, radix), radix)); in testParseUnsignedByteWithRadix()
180 UnsignedBytes.parseUnsignedByte("0", Character.MIN_RADIX - 1); in testParseUnsignedByteThrowsExceptionForInvalidRadix()
187 UnsignedBytes.parseUnsignedByte("0", Character.MAX_RADIX + 1); in testParseUnsignedByteThrowsExceptionForInvalidRadix()
195 UnsignedBytes.parseUnsignedByte("0", -1); in testParseUnsignedByteThrowsExceptionForInvalidRadix()
/external/guava/guava/src/com/google/common/primitives/
DUnsignedBytes.java204 public static byte parseUnsignedByte(String string) { in parseUnsignedByte() method in UnsignedBytes
205 return parseUnsignedByte(string, 10); in parseUnsignedByte()
221 public static byte parseUnsignedByte(String string, int radix) { in parseUnsignedByte() method in UnsignedBytes