Class ClearableLazy.Fast<T>

java.lang.Object
net.minecraftforge.common.util.ClearableLazy.Fast<T>
All Implemented Interfaces:
Supplier<T>, ClearableLazy<T>, Lazy<T>
Enclosing interface:
ClearableLazy<T>

public static final class ClearableLazy.Fast<T> extends Object implements ClearableLazy<T>
Non-thread-safe implementation.
  • Field Details

    • supplier

      private final Supplier<T> supplier
    • instance

      private T instance
  • Constructor Details

  • Method Details