@Test public void callingNextOutOfSequenceOnHalvingBigDecimals() { Iterator<BigDecimal> i = Sequences.halvingDecimal(BigDecimal.ZERO, BigDecimal.ZERO).iterator(); i.next(); thrown.expect(NoSuchElementException.class); i.next(); }
public static Iterable<BigDecimal> halvingDecimal( BigDecimal max, BigDecimal start) { return () -> new BigDecimalHalvingIterator(start, max); }
Sequences { public static Iterable<BigDecimal> halvingDecimal( BigDecimal max, BigDecimal start) { return () -> new BigDecimalHalvingIterator(start, max); } }
Sequences { public static Iterable<BigDecimal> halvingDecimal( BigDecimal max, BigDecimal start) { return () -> new BigDecimalHalvingIterator(start, max); } private  Sequences(); }
Sequences { public static Iterable<BigDecimal> halvingDecimal( BigDecimal max, BigDecimal start) { return () -> new BigDecimalHalvingIterator(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<BigDecimal> halvingDecimal( BigDecimal max, BigDecimal start) { return () -> new BigDecimalHalvingIterator(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);  }