Uses of Class
fj.data.Enumerator
Packages that use Enumerator
Package
Description
Types that set the premise for the existence of Functional Java.
Common algebraic data types.
-
Uses of Enumerator in fj
Methods in fj with parameters of type EnumeratorModifier and TypeMethodDescriptionMonoid.setIntersectionMonoid
(Bounded<A> bounded, Enumerator<A> enumerator) A intersection monoid for sets. -
Uses of Enumerator in fj.data
Fields in fj.data declared as EnumeratorModifier and TypeFieldDescriptionstatic final Enumerator
<BigDecimal> Enumerator.bigdecimalEnumerator
An enumerator forBigDecimal
.static final Enumerator
<BigInteger> Enumerator.bigintEnumerator
An enumerator forBigInteger
.static final Enumerator
<Boolean> Enumerator.booleanEnumerator
An enumerator forboolean
.static final Enumerator
<Byte> Enumerator.byteEnumerator
An enumerator forbyte
.static final Enumerator
<Character> Enumerator.charEnumerator
An enumerator forchar
.static final Enumerator
<Double> Enumerator.doubleEnumerator
An enumerator fordouble
.static final Enumerator
<Float> Enumerator.floatEnumerator
An enumerator forfloat
.static final Enumerator
<Integer> Enumerator.intEnumerator
An enumerator forint
.static final Enumerator
<Long> Enumerator.longEnumerator
An enumerator forlong
.static final Enumerator
<Natural> Enumerator.naturalEnumerator
An enumerator forNatural
static final Enumerator
<Ordering> Enumerator.orderingEnumerator
An enumerator forOrdering
.static final Enumerator
<Short> Enumerator.shortEnumerator
An enumerator forshort
.Methods in fj.data that return EnumeratorModifier and TypeMethodDescriptionstatic <A> Enumerator
<A> Enumerator.enumerator
(F<A, Option<A>> successor, F<A, Option<A>> predecessor, Option<A> max, Option<A> min, Ord<A> order) Construct an enumerator.static <A> Enumerator
<A> Enumerator.enumerator
(F<A, Option<A>> successor, F<A, Option<A>> predecessor, Option<A> max, Option<A> min, Ord<A> order, F<A, F<Long, Option<A>>> plus) Construct an enumerator.Create a new enumerator with the given maximum value.Create a new enumerator with the given minimum value.<B> Enumerator
<B> Invariant functor map over this enumerator.Methods in fj.data with parameters of type EnumeratorModifier and TypeMethodDescriptionstatic <A> Stream
<A> Stream.forever
(Enumerator<A> e, A from) Returns a stream that is either infinite or bounded up to the maximum value of the given iterator starting at the given value and stepping at increments of1
.static <A> Stream
<A> Stream.forever
(Enumerator<A> e, A from, long step) Returns a stream that is either infinite or bounded up to the maximum value of the given iterator starting at the given value and stepping at the given increment.static <A,
B> Stream <A> Stream.fromFunction
(Enumerator<B> e, F<B, A> f, B i) Converts a function of an enumerable type to a stream of the results of that function, starting at the given index.static <A> Stream
<A> Stream.range
(Enumerator<A> e, A from, A to) Returns a stream using the given enumerator from the given value to the other given value stepping at increments of1
.static <A> Stream
<A> Stream.range
(Enumerator<A> e, A from, A to, long step) Returns a stream using the given enumerator from the given value to the other given value stepping at the given increment.