Java 类com.google.common.collect.CustomConcurrentHashMap.Internals 实例源码

项目:dove    文件:MapMaker.java   
@Override <K, V> ReferenceEntry<K, V> newEntry(
    Internals<K, V, ReferenceEntry<K, V>> internals, K key,
    int hash, ReferenceEntry<K, V> next) {
  return (next == null)
      ? new WeakEntry<K, V>(internals, key, hash)
      : new LinkedWeakEntry<K, V>(internals, key, hash, next);
}
项目:dove    文件:MapMaker.java   
@Override <K, V> ReferenceEntry<K, V> newEntry(
    Internals<K, V, ReferenceEntry<K, V>> internals, K key,
    int hash, ReferenceEntry<K, V> next) {
  return (next == null)
      ? new SoftEntry<K, V>(internals, key, hash)
      : new LinkedSoftEntry<K, V>(internals, key, hash, next);
}
项目:dove    文件:MapMaker.java   
@Override <K, V> ReferenceEntry<K, V> newEntry(
    Internals<K, V, ReferenceEntry<K, V>> internals, K key,
    int hash, ReferenceEntry<K, V> next) {
  return (next == null)
      ? new StrongEntry<K, V>(internals, key, hash)
      : new LinkedStrongEntry<K, V>(
          internals, key, hash, next);
}
项目:checker-framework    文件:MapMaker.java   
@Override <K, V> ReferenceEntry<K, V> newEntry(
    Internals<K, V, ReferenceEntry<K, V>> internals, K key,
    int hash, ReferenceEntry<K, V> next) {
  return (next == null)
      ? new WeakEntry<K, V>(internals, key, hash)
      : new LinkedWeakEntry<K, V>(internals, key, hash, next);
}
项目:checker-framework    文件:MapMaker.java   
@Override <K, V> ReferenceEntry<K, V> newEntry(
    Internals<K, V, ReferenceEntry<K, V>> internals, K key,
    int hash, ReferenceEntry<K, V> next) {
  return (next == null)
      ? new SoftEntry<K, V>(internals, key, hash)
      : new LinkedSoftEntry<K, V>(internals, key, hash, next);
}
项目:checker-framework    文件:MapMaker.java   
@Override <K, V> ReferenceEntry<K, V> newEntry(
    Internals<K, V, ReferenceEntry<K, V>> internals, K key,
    int hash, ReferenceEntry<K, V> next) {
  return (next == null)
      ? new StrongEntry<K, V>(internals, key, hash)
      : new LinkedStrongEntry<K, V>(
          internals, key, hash, next);
}
项目:dove    文件:MapMaker.java   
/**
 * Creates a new entry based on the current key strength.
 */
abstract <K, V> ReferenceEntry<K, V> newEntry(
    Internals<K, V, ReferenceEntry<K, V>> internals, K key,
    int hash, ReferenceEntry<K, V> next);
项目:dove    文件:MapMaker.java   
public void setInternals(
    Internals<K, V, ReferenceEntry<K, V>> internals) {
  this.internals = internals;
}
项目:dove    文件:MapMaker.java   
StrongEntry(Internals<K, V, ReferenceEntry<K, V>> internals, K key,
    int hash) {
  this.internals = internals;
  this.key = key;
  this.hash = hash;
}
项目:dove    文件:MapMaker.java   
LinkedStrongEntry(Internals<K, V, ReferenceEntry<K, V>> internals,
    K key, int hash, ReferenceEntry<K, V> next) {
  super(internals, key, hash);
  this.next = next;
}
项目:dove    文件:MapMaker.java   
SoftEntry(Internals<K, V, ReferenceEntry<K, V>> internals, K key,
    int hash) {
  super(key, QueueHolder.queue);
  this.internals = internals;
  this.hash = hash;
}
项目:dove    文件:MapMaker.java   
LinkedSoftEntry(Internals<K, V, ReferenceEntry<K, V>> internals,
    K key, int hash, ReferenceEntry<K, V> next) {
  super(internals, key, hash);
  this.next = next;
}
项目:dove    文件:MapMaker.java   
WeakEntry(Internals<K, V, ReferenceEntry<K, V>> internals, K key,
    int hash) {
  super(key, QueueHolder.queue);
  this.internals = internals;
  this.hash = hash;
}
项目:dove    文件:MapMaker.java   
LinkedWeakEntry(Internals<K, V, ReferenceEntry<K, V>> internals,
    K key, int hash, ReferenceEntry<K, V> next) {
  super(internals, key, hash);
  this.next = next;
}
项目:checker-framework    文件:MapMaker.java   
/**
 * Creates a new entry based on the current key strength.
 */
abstract <K, V> ReferenceEntry<K, V> newEntry(
    Internals<K, V, ReferenceEntry<K, V>> internals, K key,
    int hash, ReferenceEntry<K, V> next);
项目:checker-framework    文件:MapMaker.java   
public void setInternals(
    Internals<K, V, ReferenceEntry<K, V>> internals) {
  this.internals = internals;
}
项目:checker-framework    文件:MapMaker.java   
StrongEntry(Internals<K, V, ReferenceEntry<K, V>> internals, K key,
    int hash) {
  this.internals = internals;
  this.key = key;
  this.hash = hash;
}
项目:checker-framework    文件:MapMaker.java   
LinkedStrongEntry(Internals<K, V, ReferenceEntry<K, V>> internals,
    K key, int hash, ReferenceEntry<K, V> next) {
  super(internals, key, hash);
  this.next = next;
}
项目:checker-framework    文件:MapMaker.java   
SoftEntry(Internals<K, V, ReferenceEntry<K, V>> internals, K key,
    int hash) {
  super(key, QueueHolder.queue);
  this.internals = internals;
  this.hash = hash;
}
项目:checker-framework    文件:MapMaker.java   
LinkedSoftEntry(Internals<K, V, ReferenceEntry<K, V>> internals,
    K key, int hash, ReferenceEntry<K, V> next) {
  super(internals, key, hash);
  this.next = next;
}
项目:checker-framework    文件:MapMaker.java   
WeakEntry(Internals<K, V, ReferenceEntry<K, V>> internals, K key,
    int hash) {
  super(key, QueueHolder.queue);
  this.internals = internals;
  this.hash = hash;
}
项目:checker-framework    文件:MapMaker.java   
LinkedWeakEntry(Internals<K, V, ReferenceEntry<K, V>> internals,
    K key, int hash, ReferenceEntry<K, V> next) {
  super(internals, key, hash);
  this.next = next;
}
项目:Ushare    文件:MapMaker.java   
@Override
<K, V> ReferenceEntry<K, V> newEntry(Internals<K, V, ReferenceEntry<K, V>> internals,
        K key, int hash, ReferenceEntry<K, V> next) {
    return (next == null) ? new WeakEntry<K, V>(internals, key, hash)
            : new LinkedWeakEntry<K, V>(internals, key, hash, next);
}
项目:Ushare    文件:MapMaker.java   
@Override
<K, V> ReferenceEntry<K, V> newEntry(Internals<K, V, ReferenceEntry<K, V>> internals,
        K key, int hash, ReferenceEntry<K, V> next) {
    return (next == null) ? new SoftEntry<K, V>(internals, key, hash)
            : new LinkedSoftEntry<K, V>(internals, key, hash, next);
}
项目:Ushare    文件:MapMaker.java   
@Override
<K, V> ReferenceEntry<K, V> newEntry(Internals<K, V, ReferenceEntry<K, V>> internals,
        K key, int hash, ReferenceEntry<K, V> next) {
    return (next == null) ? new StrongEntry<K, V>(internals, key, hash)
            : new LinkedStrongEntry<K, V>(internals, key, hash, next);
}
项目:Ushare    文件:MapMaker.java   
/**
 * Creates a new entry based on the current key strength.
 */
abstract <K, V> ReferenceEntry<K, V> newEntry(
        Internals<K, V, ReferenceEntry<K, V>> internals, K key, int hash,
        ReferenceEntry<K, V> next);
项目:Ushare    文件:MapMaker.java   
public void setInternals(Internals<K, V, ReferenceEntry<K, V>> internals) {
    this.internals = internals;
}
项目:Ushare    文件:MapMaker.java   
StrongEntry(Internals<K, V, ReferenceEntry<K, V>> internals, K key, int hash) {
    this.internals = internals;
    this.key = key;
    this.hash = hash;
}
项目:Ushare    文件:MapMaker.java   
LinkedStrongEntry(Internals<K, V, ReferenceEntry<K, V>> internals, K key, int hash,
        ReferenceEntry<K, V> next) {
    super(internals, key, hash);
    this.next = next;
}
项目:Ushare    文件:MapMaker.java   
SoftEntry(Internals<K, V, ReferenceEntry<K, V>> internals, K key, int hash) {
    super(key, QueueHolder.queue);
    this.internals = internals;
    this.hash = hash;
}
项目:Ushare    文件:MapMaker.java   
LinkedSoftEntry(Internals<K, V, ReferenceEntry<K, V>> internals, K key, int hash,
        ReferenceEntry<K, V> next) {
    super(internals, key, hash);
    this.next = next;
}
项目:Ushare    文件:MapMaker.java   
WeakEntry(Internals<K, V, ReferenceEntry<K, V>> internals, K key, int hash) {
    super(key, QueueHolder.queue);
    this.internals = internals;
    this.hash = hash;
}
项目:Ushare    文件:MapMaker.java   
LinkedWeakEntry(Internals<K, V, ReferenceEntry<K, V>> internals, K key, int hash,
        ReferenceEntry<K, V> next) {
    super(internals, key, hash);
    this.next = next;
}