本文整理汇总了Java中com.google.common.collect.CustomConcurrentHashMap.Internals类的典型用法代码示例。如果您正苦于以下问题:Java Internals类的具体用法?Java Internals怎么用?Java Internals使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
Internals类属于com.google.common.collect.CustomConcurrentHashMap包,在下文中一共展示了Internals类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: newEntry
import com.google.common.collect.CustomConcurrentHashMap.Internals; //导入依赖的package包/类
@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);
}
示例2: setInternals
import com.google.common.collect.CustomConcurrentHashMap.Internals; //导入依赖的package包/类
public void setInternals(
Internals<K, V, ReferenceEntry<K, V>> internals) {
this.internals = internals;
}
示例3: StrongEntry
import com.google.common.collect.CustomConcurrentHashMap.Internals; //导入依赖的package包/类
StrongEntry(Internals<K, V, ReferenceEntry<K, V>> internals, K key,
int hash) {
this.internals = internals;
this.key = key;
this.hash = hash;
}
示例4: LinkedStrongEntry
import com.google.common.collect.CustomConcurrentHashMap.Internals; //导入依赖的package包/类
LinkedStrongEntry(Internals<K, V, ReferenceEntry<K, V>> internals,
K key, int hash, ReferenceEntry<K, V> next) {
super(internals, key, hash);
this.next = next;
}
示例5: SoftEntry
import com.google.common.collect.CustomConcurrentHashMap.Internals; //导入依赖的package包/类
SoftEntry(Internals<K, V, ReferenceEntry<K, V>> internals, K key,
int hash) {
super(key, QueueHolder.queue);
this.internals = internals;
this.hash = hash;
}
示例6: LinkedSoftEntry
import com.google.common.collect.CustomConcurrentHashMap.Internals; //导入依赖的package包/类
LinkedSoftEntry(Internals<K, V, ReferenceEntry<K, V>> internals,
K key, int hash, ReferenceEntry<K, V> next) {
super(internals, key, hash);
this.next = next;
}
示例7: WeakEntry
import com.google.common.collect.CustomConcurrentHashMap.Internals; //导入依赖的package包/类
WeakEntry(Internals<K, V, ReferenceEntry<K, V>> internals, K key,
int hash) {
super(key, QueueHolder.queue);
this.internals = internals;
this.hash = hash;
}
示例8: LinkedWeakEntry
import com.google.common.collect.CustomConcurrentHashMap.Internals; //导入依赖的package包/类
LinkedWeakEntry(Internals<K, V, ReferenceEntry<K, V>> internals,
K key, int hash, ReferenceEntry<K, V> next) {
super(internals, key, hash);
this.next = next;
}
示例9: newEntry
import com.google.common.collect.CustomConcurrentHashMap.Internals; //导入依赖的package包/类
@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);
}
示例10: setInternals
import com.google.common.collect.CustomConcurrentHashMap.Internals; //导入依赖的package包/类
public void setInternals(Internals<K, V, ReferenceEntry<K, V>> internals) {
this.internals = internals;
}
示例11: StrongEntry
import com.google.common.collect.CustomConcurrentHashMap.Internals; //导入依赖的package包/类
StrongEntry(Internals<K, V, ReferenceEntry<K, V>> internals, K key, int hash) {
this.internals = internals;
this.key = key;
this.hash = hash;
}
示例12: LinkedStrongEntry
import com.google.common.collect.CustomConcurrentHashMap.Internals; //导入依赖的package包/类
LinkedStrongEntry(Internals<K, V, ReferenceEntry<K, V>> internals, K key, int hash,
ReferenceEntry<K, V> next) {
super(internals, key, hash);
this.next = next;
}
示例13: SoftEntry
import com.google.common.collect.CustomConcurrentHashMap.Internals; //导入依赖的package包/类
SoftEntry(Internals<K, V, ReferenceEntry<K, V>> internals, K key, int hash) {
super(key, QueueHolder.queue);
this.internals = internals;
this.hash = hash;
}
示例14: LinkedSoftEntry
import com.google.common.collect.CustomConcurrentHashMap.Internals; //导入依赖的package包/类
LinkedSoftEntry(Internals<K, V, ReferenceEntry<K, V>> internals, K key, int hash,
ReferenceEntry<K, V> next) {
super(internals, key, hash);
this.next = next;
}
示例15: WeakEntry
import com.google.common.collect.CustomConcurrentHashMap.Internals; //导入依赖的package包/类
WeakEntry(Internals<K, V, ReferenceEntry<K, V>> internals, K key, int hash) {
super(key, QueueHolder.queue);
this.internals = internals;
this.hash = hash;
}