当前位置: 首页>>代码示例>>Java>>正文


Java Internals类代码示例

本文整理汇总了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);
}
 
开发者ID:george-zhang-work,项目名称:dove,代码行数:8,代码来源:MapMaker.java

示例2: setInternals

import com.google.common.collect.CustomConcurrentHashMap.Internals; //导入依赖的package包/类
public void setInternals(
    Internals<K, V, ReferenceEntry<K, V>> internals) {
  this.internals = internals;
}
 
开发者ID:george-zhang-work,项目名称:dove,代码行数:5,代码来源:MapMaker.java

示例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;
}
 
开发者ID:george-zhang-work,项目名称:dove,代码行数:7,代码来源:MapMaker.java

示例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;
}
 
开发者ID:george-zhang-work,项目名称:dove,代码行数:6,代码来源:MapMaker.java

示例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;
}
 
开发者ID:george-zhang-work,项目名称:dove,代码行数:7,代码来源:MapMaker.java

示例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;
}
 
开发者ID:george-zhang-work,项目名称:dove,代码行数:6,代码来源:MapMaker.java

示例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;
}
 
开发者ID:george-zhang-work,项目名称:dove,代码行数:7,代码来源:MapMaker.java

示例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;
}
 
开发者ID:george-zhang-work,项目名称:dove,代码行数:6,代码来源:MapMaker.java

示例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);
}
 
开发者ID:iYUYUE,项目名称:Ushare,代码行数:7,代码来源:MapMaker.java

示例10: setInternals

import com.google.common.collect.CustomConcurrentHashMap.Internals; //导入依赖的package包/类
public void setInternals(Internals<K, V, ReferenceEntry<K, V>> internals) {
    this.internals = internals;
}
 
开发者ID:iYUYUE,项目名称:Ushare,代码行数:4,代码来源:MapMaker.java

示例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;
}
 
开发者ID:iYUYUE,项目名称:Ushare,代码行数:6,代码来源:MapMaker.java

示例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;
}
 
开发者ID:iYUYUE,项目名称:Ushare,代码行数:6,代码来源:MapMaker.java

示例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;
}
 
开发者ID:iYUYUE,项目名称:Ushare,代码行数:6,代码来源:MapMaker.java

示例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;
}
 
开发者ID:iYUYUE,项目名称:Ushare,代码行数:6,代码来源:MapMaker.java

示例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;
}
 
开发者ID:iYUYUE,项目名称:Ushare,代码行数:6,代码来源:MapMaker.java


注:本文中的com.google.common.collect.CustomConcurrentHashMap.Internals类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。