Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

HashMap::HashEntry Class Reference

List of all members.

Public Member Functions

 this (K key, uint hash, HashEntry next, V value)

Public Attributes

K key
uint hash
V value
HashEntry next

Detailed Description

ConcurrentHashMap list entry. Note that this is never exported out as a user-visible Map.Entry.

Because the value field is volatile, not final, it is legal wrt the Java Memory Model for an unsynchronized reader to see null instead of initial value when read via a data race. Although a reordering leading to this is not likely to ever actually occur, the Segment.readValueUnderLock method is used as a backup in case a null (pre-initialized) value is ever seen in an unsynchronized access method.

Definition at line 327 of file HashMap.d.


Member Function Documentation

this K  key,
uint  hash,
HashEntry  next,
V  value
[inline]
 

Definition at line 334 of file HashMap.d.

References HashMap::hash, HashMap::K, key, next, HashMap::V, and value.


Member Data Documentation

K key
 

Definition at line 329 of file HashMap.d.

Referenced by HashMap::Segment::containsKey(), HashMap::Segment::get(), HashMap::opApply(), HashMap::Segment::put(), HashMap::Segment::rehash(), HashMap::Segment::remove(), HashMap::Segment::replace(), and this().

uint hash
 

Definition at line 330 of file HashMap.d.

Referenced by HashMap::Segment::containsKey(), HashMap::Segment::get(), HashMap::Segment::put(), HashMap::Segment::rehash(), HashMap::Segment::remove(), and HashMap::Segment::replace().

V value
 

Definition at line 331 of file HashMap.d.

Referenced by HashMap::Segment::get(), HashMap::opApply(), HashMap::Segment::put(), HashMap::Segment::rehash(), HashMap::Segment::remove(), HashMap::Segment::replace(), and this().

HashEntry next
 

Definition at line 332 of file HashMap.d.

Referenced by HashMap::HashIterator::advance(), HashMap::Segment::containsKey(), HashMap::Segment::get(), HashMap::Segment::put(), HashMap::Segment::rehash(), HashMap::Segment::remove(), HashMap::Segment::replace(), and this().


The documentation for this class was generated from the following file:
Generated on Sun Nov 7 19:07:03 2004 for Mango by doxygen 1.3.6