Package org.web3j.utils
Class Flowables
- java.lang.Object
-
- org.web3j.utils.Flowables
-
public class Flowables extends java.lang.Object
Flowable utility functions.
-
-
Constructor Summary
Constructors Constructor Description Flowables()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static io.reactivex.Flowable<java.math.BigInteger>
range(java.math.BigInteger startValue, java.math.BigInteger endValue)
static io.reactivex.Flowable<java.math.BigInteger>
range(java.math.BigInteger startValue, java.math.BigInteger endValue, boolean ascending)
SimpleFlowable
implementation to emit a range of BigInteger values.
-
-
-
Method Detail
-
range
public static io.reactivex.Flowable<java.math.BigInteger> range(java.math.BigInteger startValue, java.math.BigInteger endValue)
-
range
public static io.reactivex.Flowable<java.math.BigInteger> range(java.math.BigInteger startValue, java.math.BigInteger endValue, boolean ascending)
SimpleFlowable
implementation to emit a range of BigInteger values.- Parameters:
startValue
- first value to emit in rangeendValue
- final value to emit in rangeascending
- direction to iterate through range- Returns:
- a
Flowable
instance to emit this range of values
-
-