public class InstanceProvider<T> extends Object implements Supplier<T>
Supplier
InstanceProvider(T instance)
T
get()
static <V,T extends V>Supplier<V>
of(T target)
void
set(T instance)
static <T> Supplier<T>
wrap(T target)
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public InstanceProvider(T instance)
public T get()
get
Supplier<T>
public void set(T instance)
public static <V,T extends V> Supplier<V> of(T target)
public static <T> Supplier<T> wrap(T target)
Copyright © 2021–2022. All rights reserved.