Uses of Class
io.vavr.Lazy
-
Packages that use Lazy Package Description io.vavr BesideAPI
the io.vavr package contains core types like (Checked)Functions and Tuples.io.vavr.collection Purely functional collections based on Traversable. -
-
Uses of Lazy in io.vavr
Methods in io.vavr that return Lazy Modifier and Type Method Description static <T> Lazy<T>
API. Lazy(java.util.function.Supplier<? extends T> supplier)
Alias forof(Supplier)
<U> Lazy<U>
Lazy. map(java.util.function.Function<? super T,? extends U> mapper)
static <T> Lazy<T>
Lazy. narrow(Lazy<? extends T> lazy)
Narrows a widenedLazy<? extends T>
toLazy<T>
by performing a type-safe cast.static <T> Lazy<T>
Lazy. of(java.util.function.Supplier<? extends T> supplier)
Creates aLazy
that requests its value from a givenSupplier
.Lazy<T>
Lazy. peek(java.util.function.Consumer<? super T> action)
static <T> Lazy<Seq<T>>
Lazy. sequence(java.lang.Iterable<? extends Lazy<? extends T>> values)
Reduces manyLazy
values into a singleLazy
by transforming anIterable<Lazy<? extends T>>
into aLazy<Seq<T>>
.Methods in io.vavr with parameters of type Lazy Modifier and Type Method Description static <T> Lazy<T>
Lazy. narrow(Lazy<? extends T> lazy)
Narrows a widenedLazy<? extends T>
toLazy<T>
by performing a type-safe cast.Method parameters in io.vavr with type arguments of type Lazy Modifier and Type Method Description static <T> Lazy<Seq<T>>
Lazy. sequence(java.lang.Iterable<? extends Lazy<? extends T>> values)
Reduces manyLazy
values into a singleLazy
by transforming anIterable<Lazy<? extends T>>
into aLazy<Seq<T>>
.<U> U
Lazy. transform(java.util.function.Function<? super Lazy<T>,? extends U> f)
Transforms thisLazy
. -
Uses of Lazy in io.vavr.collection
Fields in io.vavr.collection declared as Lazy Modifier and Type Field Description private static Lazy<java.math.BigDecimal>
IteratorModule.BigDecimalHelper. INFINITY_DISTANCE
(package private) Lazy<Stream<T>>
Stream.Cons. tail
-