Searched refs:nextBigInteger (Results 1 – 2 of 2) sorted by relevance
1633 assertEquals(new BigInteger("123"), s.nextBigInteger(10)); in test_nextBigIntegerI()1634 assertEquals(new BigInteger("456"), s.nextBigInteger(10)); in test_nextBigIntegerI()1636 s.nextBigInteger(10); in test_nextBigIntegerI()1643 assertEquals(new BigInteger("38"), s.nextBigInteger(5)); in test_nextBigIntegerI()1645 s.nextBigInteger(5); in test_nextBigIntegerI()1657 s.nextBigInteger(10); in test_nextBigIntegerI()1663 assertEquals(new BigInteger("23456"), s.nextBigInteger(10)); in test_nextBigIntegerI()1664 assertEquals(new BigInteger("23456"), s.nextBigInteger(10)); in test_nextBigIntegerI()1672 s.nextBigInteger(10); in test_nextBigIntegerI()1678 assertEquals(new BigInteger("23456"), s.nextBigInteger(10)); in test_nextBigIntegerI()[all …]
2506 public BigInteger nextBigInteger() { in nextBigInteger() method in Scanner2507 return nextBigInteger(defaultRadix); in nextBigInteger()2531 public BigInteger nextBigInteger(int radix) { in nextBigInteger() method in Scanner