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.bigdecimalEnumeratorAn enumerator forBigDecimal.static final Enumerator<BigInteger> Enumerator.bigintEnumeratorAn enumerator forBigInteger.static final Enumerator<Boolean> Enumerator.booleanEnumeratorAn enumerator forboolean.static final Enumerator<Byte> Enumerator.byteEnumeratorAn enumerator forbyte.static final Enumerator<Character> Enumerator.charEnumeratorAn enumerator forchar.static final Enumerator<Double> Enumerator.doubleEnumeratorAn enumerator fordouble.static final Enumerator<Float> Enumerator.floatEnumeratorAn enumerator forfloat.static final Enumerator<Integer> Enumerator.intEnumeratorAn enumerator forint.static final Enumerator<Long> Enumerator.longEnumeratorAn enumerator forlong.static final Enumerator<Natural> Enumerator.naturalEnumeratorAn enumerator forNaturalstatic final Enumerator<Ordering> Enumerator.orderingEnumeratorAn enumerator forOrdering.static final Enumerator<Short> Enumerator.shortEnumeratorAn 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.