类 KeyWithDefaultValue<T>

java.lang.Object
com.intellij.openapi.util.Key<T>
com.intellij.openapi.util.KeyWithDefaultValue<T>

public abstract class KeyWithDefaultValue<T> extends Key<T>
  • 构造器详细资料

    • KeyWithDefaultValue

      public KeyWithDefaultValue(@NotNull @NonNls @NotNull @NonNls String name)
  • 方法详细资料

    • getDefaultValue

      public abstract T getDefaultValue()
    • create

      @NotNull public static <T> @NotNull KeyWithDefaultValue<T> create(@NotNull @NonNls @NotNull @NonNls String name, T defValue)
    • create

      @NotNull public static <T> @NotNull KeyWithDefaultValue<T> create(@NotNull @NonNls @NotNull @NonNls String name, @NotNull @NotNull Supplier<? extends T> factory)