Uses of Class
io.vavr.Lazy
-
Packages that use Lazy Package Description io.vavr BesideAPIthe 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(@NonNull java.util.function.Supplier<? extends T> supplier)Alias forof(Supplier)<U> Lazy<U>Lazy. map(@NonNull java.util.function.Function<? super T,? extends U> mapper)<U> Lazy<U>Lazy. mapTo(U value)Lazy<java.lang.Void>Lazy. mapToVoid()static <T> Lazy<T>Lazy. narrow(Lazy<? extends T> lazy)Narrows aLazy<? extends T>toLazy<T>via a type-safe cast.static <T> Lazy<T>Lazy. of(@NonNull java.util.function.Supplier<? extends T> supplier)Creates aLazyinstance that obtains its value from the givenSupplier.Lazy<T>Lazy. peek(@NonNull java.util.function.Consumer<? super T> action)static <T> Lazy<Seq<T>>Lazy. sequence(@NonNull java.lang.Iterable<? extends Lazy<? extends T>> values)Combines multipleLazyinstances into a singleLazycontaining a sequence of their evaluated values.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 aLazy<? extends T>toLazy<T>via 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(@NonNull java.lang.Iterable<? extends Lazy<? extends T>> values)Combines multipleLazyinstances into a singleLazycontaining a sequence of their evaluated values.<U> ULazy. transform(@NonNull java.util.function.Function<? super Lazy<T>,? extends U> f)Applies a transformation function to the value contained in thisLazy, producing a newLazyinstance of the transformed value. -
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
-