public static HashSet<Character> rangeBy(char from, char toExclusive, int step) { return HashSet.ofAll(Iterator.rangeBy(from, toExclusive, step)); }
public static TreeSet<Character> rangeBy(char from, char toExclusive, int step) { return TreeSet.ofAll(Iterator.rangeBy(from, toExclusive, step)); }
public static Queue<Character> rangeBy(char from, char toExclusive, int step) { return ofAll(Iterator.rangeBy(from, toExclusive, step)); }
static Stream<Character> rangeBy(char from, char toExclusive, int step) { return Stream.ofAll(Iterator.rangeBy(from, toExclusive, step)); }
static List<Character> rangeBy(char from, char toExclusive, int step) { return ofAll(Iterator.rangeBy(from, toExclusive, step)); }
public static LinkedHashSet<Character> rangeBy(char from, char toExclusive, int step) { return LinkedHashSet.ofAll(Iterator.rangeBy(from, toExclusive, step)); }
@GwtIncompatible static Stream<Double> rangeBy(double from, double toExclusive, double step) { return Stream.ofAll(Iterator.rangeBy(from, toExclusive, step)); }
@GwtIncompatible public static HashSet<Double> rangeBy(double from, double toExclusive, double step) { return HashSet.ofAll(Iterator.rangeBy(from, toExclusive, step)); }
@GwtIncompatible public static Array<Double> rangeBy(double from, double toExclusive, double step) { return ofAll(Iterator.rangeBy(from, toExclusive, step)); }
@GwtIncompatible public static Queue<Double> rangeBy(double from, double toExclusive, double step) { return ofAll(Iterator.rangeBy(from, toExclusive, step)); }
@GwtIncompatible static List<Double> rangeBy(double from, double toExclusive, double step) { return ofAll(Iterator.rangeBy(from, toExclusive, step)); }
@GwtIncompatible public static TreeSet<Double> rangeBy(double from, double toExclusive, double step) { return TreeSet.ofAll(Iterator.rangeBy(from, toExclusive, step)); }
@GwtIncompatible public static LinkedHashSet<Double> rangeBy(double from, double toExclusive, double step) { return LinkedHashSet.ofAll(Iterator.rangeBy(from, toExclusive, step)); }
static BitSet<Long> rangeBy(long from, long toExclusive, long step) { return BitSet.withLongs().ofAll(Iterator.rangeBy(from, toExclusive, step)); }
public static Vector<Character> rangeBy(char from, char toExclusive, int step) { return ofAll(ArrayType.<char[]> asPrimitives(char.class, Iterator.rangeBy(from, toExclusive, step))); }
static BitSet<Character> rangeBy(char from, char toExclusive, int step) { return BitSet.withCharacters().ofAll(Iterator.rangeBy(from, toExclusive, step)); }
public static CharSeq rangeBy(char from, char toExclusive, int step) { return new CharSeq(io.vavr.collection.Iterator.rangeBy(from, toExclusive, step).mkString()); }
@GwtIncompatible public static Vector<Double> rangeBy(double from, double toExclusive, double step) { return ofAll(ArrayType.<double[]> asPrimitives(double.class, Iterator.rangeBy(from, toExclusive, step))); }
@GwtIncompatible static Iterator<Double> rangeClosedBy(double from, double toInclusive, double step) { if (from == toInclusive) { return of(from); } final double toExclusive = (step > 0) ? Math.nextUp(toInclusive) : Math.nextDown(toInclusive); return rangeBy(from, toExclusive, step); }
@GwtIncompatible("BigDecimalHelper is GwtIncompatible") static Iterator<Double> rangeBy(double from, double toExclusive, double step) { final BigDecimal fromDecimal = asDecimal(from), toDecimal = asDecimal(toExclusive), stepDecimal = asDecimal(step); return rangeBy(fromDecimal, toDecimal, stepDecimal).map(BigDecimal::doubleValue); }