接口 UserDataHolderEx

所有超级接口:
UserDataHolder
所有已知子接口:
FileViewProvider

public interface UserDataHolderEx extends UserDataHolder
  • 方法概要

    修饰符和类型
    方法
    说明
    <T> T
    putUserDataIfAbsent(@NotNull Key<T> key, T value)
     
    <T> boolean
    replace(@NotNull Key<T> key, T oldValue, T newValue)
    Replaces (atomically) old value in the map with the new one

    从接口继承的方法 com.intellij.openapi.util.UserDataHolder

    getUserData, putUserData
  • 方法详细资料

    • putUserDataIfAbsent

      @NotNull <T> T putUserDataIfAbsent(@NotNull @NotNull Key<T> key, @NotNull T value)
      返回:
      written or already existing value
    • replace

      <T> boolean replace(@NotNull @NotNull Key<T> key, @Nullable T oldValue, @Nullable T newValue)
      Replaces (atomically) old value in the map with the new one
      返回:
      true if old value got replaced, false otherwise
      另请参阅: