java.util.IdentityHashMap.massageValue()方法的使用及代码示例

x33g5p2x  于2022-01-20 转载在 其他  
字(4.2k)|赞(0)|评价(0)|浏览(125)

本文整理了Java中java.util.IdentityHashMap.massageValue()方法的一些代码示例,展示了IdentityHashMap.massageValue()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。IdentityHashMap.massageValue()方法的具体详情如下:
包路径:java.util.IdentityHashMap
类名称:IdentityHashMap
方法名:massageValue

IdentityHashMap.massageValue介绍

暂无

代码示例

代码示例来源:origin: robovm/robovm

/**
 * Returns the value of the mapping with the specified key.
 *
 * @param key
 *            the key.
 * @return the value of the mapping with the specified key.
 */
@Override
public V get(Object key) {
  if (key == null) {
    key = NULL_OBJECT;
  }
  int index = findIndex(key, elementData);
  if (elementData[index] == key) {
    Object result = elementData[index + 1];
    return massageValue(result);
  }
  return null;
}

代码示例来源:origin: robovm/robovm

elementData[index + 1] = null;
return massageValue(result);

代码示例来源:origin: robovm/robovm

elementData[index + 1] = _value;
return massageValue(result);

代码示例来源:origin: MobiVM/robovm

/**
 * Returns the value of the mapping with the specified key.
 *
 * @param key
 *            the key.
 * @return the value of the mapping with the specified key.
 */
@Override
public V get(Object key) {
  if (key == null) {
    key = NULL_OBJECT;
  }
  int index = findIndex(key, elementData);
  if (elementData[index] == key) {
    Object result = elementData[index + 1];
    return massageValue(result);
  }
  return null;
}

代码示例来源:origin: com.jtransc/jtransc-rt

/**
 * Returns the value of the mapping with the specified key.
 *
 * @param key
 *            the key.
 * @return the value of the mapping with the specified key.
 */
@Override
public V get(Object key) {
  if (key == null) {
    key = NULL_OBJECT;
  }
  int index = findIndex(key, elementData);
  if (elementData[index] == key) {
    Object result = elementData[index + 1];
    return massageValue(result);
  }
  return null;
}

代码示例来源:origin: com.gluonhq/robovm-rt

/**
 * Returns the value of the mapping with the specified key.
 *
 * @param key
 *            the key.
 * @return the value of the mapping with the specified key.
 */
@Override
public V get(Object key) {
  if (key == null) {
    key = NULL_OBJECT;
  }
  int index = findIndex(key, elementData);
  if (elementData[index] == key) {
    Object result = elementData[index + 1];
    return massageValue(result);
  }
  return null;
}

代码示例来源:origin: FlexoVM/flexovm

/**
 * Returns the value of the mapping with the specified key.
 *
 * @param key
 *            the key.
 * @return the value of the mapping with the specified key.
 */
@Override
public V get(Object key) {
  if (key == null) {
    key = NULL_OBJECT;
  }
  int index = findIndex(key, elementData);
  if (elementData[index] == key) {
    Object result = elementData[index + 1];
    return massageValue(result);
  }
  return null;
}

代码示例来源:origin: com.mobidevelop.robovm/robovm-rt

/**
 * Returns the value of the mapping with the specified key.
 *
 * @param key
 *            the key.
 * @return the value of the mapping with the specified key.
 */
@Override
public V get(Object key) {
  if (key == null) {
    key = NULL_OBJECT;
  }
  int index = findIndex(key, elementData);
  if (elementData[index] == key) {
    Object result = elementData[index + 1];
    return massageValue(result);
  }
  return null;
}

代码示例来源:origin: ibinti/bugvm

/**
 * Returns the value of the mapping with the specified key.
 *
 * @param key
 *            the key.
 * @return the value of the mapping with the specified key.
 */
@Override
public V get(Object key) {
  if (key == null) {
    key = NULL_OBJECT;
  }
  int index = findIndex(key, elementData);
  if (elementData[index] == key) {
    Object result = elementData[index + 1];
    return massageValue(result);
  }
  return null;
}

代码示例来源:origin: com.bugvm/bugvm-rt

/**
 * Returns the value of the mapping with the specified key.
 *
 * @param key
 *            the key.
 * @return the value of the mapping with the specified key.
 */
@Override
public V get(Object key) {
  if (key == null) {
    key = NULL_OBJECT;
  }
  int index = findIndex(key, elementData);
  if (elementData[index] == key) {
    Object result = elementData[index + 1];
    return massageValue(result);
  }
  return null;
}

代码示例来源:origin: com.mobidevelop.robovm/robovm-rt

elementData[index + 1] = null;
return massageValue(result);

代码示例来源:origin: MobiVM/robovm

elementData[index + 1] = null;
return massageValue(result);

代码示例来源:origin: FlexoVM/flexovm

elementData[index + 1] = null;
return massageValue(result);

代码示例来源:origin: MobiVM/robovm

elementData[index + 1] = _value;
return massageValue(result);

代码示例来源:origin: ibinti/bugvm

elementData[index + 1] = _value;
return massageValue(result);

代码示例来源:origin: com.bugvm/bugvm-rt

elementData[index + 1] = _value;
return massageValue(result);

代码示例来源:origin: com.gluonhq/robovm-rt

elementData[index + 1] = _value;
return massageValue(result);

代码示例来源:origin: com.mobidevelop.robovm/robovm-rt

elementData[index + 1] = _value;
return massageValue(result);

代码示例来源:origin: com.jtransc/jtransc-rt

elementData[index + 1] = _value;
return massageValue(result);

代码示例来源:origin: FlexoVM/flexovm

elementData[index + 1] = _value;
return massageValue(result);

相关文章