@Test public void callingNextOutOfSequenceOnHalvingBigIntegers() { Iterator<BigInteger> i = Sequences.halvingIntegral(BigInteger.ZERO, BigInteger.ZERO).iterator(); i.next(); thrown.expect(NoSuchElementException.class); i.next(); }
public static Iterable<BigInteger> halvingIntegral( BigInteger max, BigInteger start) { return () -> new BigIntegerHalvingIterator(start, max); }
Sequences { public static Iterable<BigInteger> halvingIntegral( BigInteger max, BigInteger start) { return () -> new BigIntegerHalvingIterator(start, max); } }
Sequences { public static Iterable<BigInteger> halvingIntegral( BigInteger max, BigInteger start) { return () -> new BigIntegerHalvingIterator(start, max); } private  Sequences(); }
Sequences { public static Iterable<BigInteger> halvingIntegral( BigInteger max, BigInteger start) { return () -> new BigIntegerHalvingIterator(start, max); } private  Sequences(); static Iterable<BigInteger> halvingIntegral(
        BigInteger max,
        BigInteger start); static Iterable<BigDecimal> halvingDecimal(
        BigDecimal max,
        BigDecimal start); static Iterable<Integer> halving(int start); }
Sequences { public static Iterable<BigInteger> halvingIntegral( BigInteger max, BigInteger start) { return () -> new BigIntegerHalvingIterator(start, max); } private  Sequences(); static Iterable<BigInteger> halvingIntegral(
        BigInteger max,
        BigInteger start); static Iterable<BigDecimal> halvingDecimal(
        BigDecimal max,
        BigDecimal start); static Iterable<Integer> halving(int start);  }