Lines Matching refs:instance
70 * Returns a supplier which caches the instance retrieved during the first
77 * get()} is called on the reserialized instance.
105 * Returns a supplier that caches the instance supplied by the delegate and
114 * get()} is called on the reserialized instance.
155 * Returns a supplier that always supplies {@code instance}.
157 public static <T> Supplier<T> ofInstance(@Nullable T instance) {
158 return new SupplierOfInstance<T>(instance);
163 final T instance;
165 SupplierOfInstance(T instance) {
166 this.instance = instance;
169 return instance;