public static final class SourceProvider.Immutable<T> extends java.lang.Object implements SourceProvider<T>
SourceProvider.Computed<T>, SourceProvider.Immutable<T>| Constructor and Description |
|---|
Immutable(@NotNull java.util.List<T> values) |
| Modifier and Type | Method and Description |
|---|---|
@NotNull java.util.concurrent.CompletableFuture<java.util.List<T>> |
apply(@NotNull net.infumia.frame.context.ContextBase context) |
boolean |
async() |
boolean |
computed() |
boolean |
lazy() |
boolean |
provided() |
public Immutable(@NotNull
@NotNull java.util.List<T> values)
@NotNull public @NotNull java.util.concurrent.CompletableFuture<java.util.List<T>> apply(@NotNull @NotNull net.infumia.frame.context.ContextBase context)
apply in interface java.util.function.Function<net.infumia.frame.context.ContextBase,java.util.concurrent.CompletableFuture<java.util.List<T>>>public boolean lazy()
lazy in interface SourceProvider<T>public boolean computed()
computed in interface SourceProvider<T>public boolean provided()
provided in interface SourceProvider<T>public boolean async()
async in interface SourceProvider<T>