Java 类com.intellij.util.containers.WeakValueHashMap 实例源码

项目:intellij-ce-playground    文件:DataManagerImpl.java   
private WeakValueHashMap<Key, Object> getOrCreateMap() {
  WeakValueHashMap<Key, Object> userData = myUserData;
  if (userData == null) {
    myUserData = userData = new WeakValueHashMap<Key, Object>();
  }
  return userData;
}
项目:tools-idea    文件:DataManagerImpl.java   
private WeakValueHashMap<Key, Object> getOrCreateMap() {
  WeakValueHashMap<Key, Object> userData = myUserData;
  if (userData == null) {
    myUserData = userData = new WeakValueHashMap<Key, Object>();
  }
  return userData;
}
项目:consulo    文件:DataManagerImpl.java   
@Nonnull
private Map<Key, Object> getOrCreateMap() {
  Map<Key, Object> userData = myUserData;
  if (userData == null) {
    myUserData = userData = new WeakValueHashMap<>();
  }
  return userData;
}
项目:consulo    文件:DataManagerImpl.java   
@Nonnull
private Map<Key, Object> getOrCreateMap() {
  Map<Key, Object> userData = myUserData;
  if (userData == null) {
    myUserData = userData = new WeakValueHashMap<>();
  }
  return userData;
}