Package | Description |
---|---|
com.google.common.collect |
This package contains generic collection interfaces and implementations, and
other utilities for working with collections.
|
Modifier and Type | Class and Description |
---|---|
(package private) static class |
ComputingConcurrentHashMap.ComputingSegment<K,V> |
Modifier and Type | Field and Description |
---|---|
(package private) MapMakerInternalMap.Segment<K,V> |
MapMakerInternalMap.HashIterator.currentSegment |
(package private) MapMakerInternalMap.Segment<K,V>[] |
MapMakerInternalMap.segments
The segments, each of which is a specialized hash table.
|
Modifier and Type | Method and Description |
---|---|
(package private) MapMakerInternalMap.Segment<K,V> |
ComputingConcurrentHashMap.createSegment(int initialCapacity,
int maxSegmentSize) |
(package private) MapMakerInternalMap.Segment<K,V> |
MapMakerInternalMap.createSegment(int initialCapacity,
int maxSegmentSize) |
(package private) MapMakerInternalMap.Segment<K,V>[] |
MapMakerInternalMap.newSegmentArray(int ssize) |
(package private) MapMakerInternalMap.Segment<K,V> |
MapMakerInternalMap.segmentFor(int hash)
Returns the segment that should be used for a key with the given hash.
|
Modifier and Type | Method and Description |
---|---|
(package private) <K,V> MapMakerInternalMap.ReferenceEntry<K,V> |
MapMakerInternalMap.EntryFactory.copyEntry(MapMakerInternalMap.Segment<K,V> segment,
MapMakerInternalMap.ReferenceEntry<K,V> original,
MapMakerInternalMap.ReferenceEntry<K,V> newNext)
Copies an entry, assigning it a new
next entry. |
(package private) abstract <K,V> MapMakerInternalMap.ReferenceEntry<K,V> |
MapMakerInternalMap.EntryFactory.newEntry(MapMakerInternalMap.Segment<K,V> segment,
K key,
int hash,
MapMakerInternalMap.ReferenceEntry<K,V> next)
Creates a new entry.
|
(package private) abstract <K,V> MapMakerInternalMap.ValueReference<K,V> |
MapMakerInternalMap.Strength.referenceValue(MapMakerInternalMap.Segment<K,V> segment,
MapMakerInternalMap.ReferenceEntry<K,V> entry,
V value)
Creates a reference for the given value according to this value strength.
|