aa
com.cliffc.aa.util.NonBlockingHashMapLong< TypeV >.SnapshotE Class Reference
Inheritance diagram for com.cliffc.aa.util.NonBlockingHashMapLong< TypeV >.SnapshotE:
[legend]
Collaboration diagram for com.cliffc.aa.util.NonBlockingHashMapLong< TypeV >.SnapshotE:
[legend]

Public Member Functions

 SnapshotE ()
 
boolean hasNext ()
 
Map.Entry< Long, TypeV > next ()
 
void remove ()
 

Package Attributes

final SnapshotV _ss
 

Detailed Description

Definition at line 1200 of file NonBlockingHashMapLong.java.

Constructor & Destructor Documentation

◆ SnapshotE()

com.cliffc.aa.util.NonBlockingHashMapLong< TypeV >.SnapshotE.SnapshotE ( )

Definition at line 1202 of file NonBlockingHashMapLong.java.

1202 { _ss = new SnapshotV(); }

References com.cliffc.aa.util.NonBlockingHashMapLong< TypeV >.SnapshotE._ss.

Member Function Documentation

◆ hasNext()

boolean com.cliffc.aa.util.NonBlockingHashMapLong< TypeV >.SnapshotE.hasNext ( )

Definition at line 1210 of file NonBlockingHashMapLong.java.

1210 { return _ss.hasNext(); }

References com.cliffc.aa.util.NonBlockingHashMapLong< TypeV >.SnapshotE._ss, and com.cliffc.aa.util.NonBlockingHashMapLong< TypeV >.SnapshotV.hasNext().

Here is the call graph for this function:

◆ next()

Map.Entry<Long,TypeV> com.cliffc.aa.util.NonBlockingHashMapLong< TypeV >.SnapshotE.next ( )

Definition at line 1209 of file NonBlockingHashMapLong.java.

1209 { _ss.next(); return new NBHMLEntry(_ss._prevK,_ss._prevV); }

References com.cliffc.aa.util.NonBlockingHashMapLong< TypeV >.SnapshotV._prevK, com.cliffc.aa.util.NonBlockingHashMapLong< TypeV >.SnapshotV._prevV, com.cliffc.aa.util.NonBlockingHashMapLong< TypeV >.SnapshotE._ss, and com.cliffc.aa.util.NonBlockingHashMapLong< TypeV >.SnapshotV.next().

Here is the call graph for this function:

◆ remove()

void com.cliffc.aa.util.NonBlockingHashMapLong< TypeV >.SnapshotE.remove ( )

Definition at line 1203 of file NonBlockingHashMapLong.java.

1203  {
1204  // NOTE: it would seem logical that entry removal will semantically mean
1205  // removing the matching pair <k,v>, but the JDK always removes by key,
1206  // even when the value has changed.
1207  _ss.removeKey();
1208  }

References com.cliffc.aa.util.NonBlockingHashMapLong< TypeV >.SnapshotE._ss, and com.cliffc.aa.util.NonBlockingHashMapLong< TypeV >.SnapshotV.removeKey().

Here is the call graph for this function:

Member Data Documentation

◆ _ss


The documentation for this class was generated from the following file:
com.cliffc.aa.util.NonBlockingHashMapLong.SnapshotE._ss
final SnapshotV _ss
Definition: NonBlockingHashMapLong.java:1201
com.cliffc.aa.util.NonBlockingHashMapLong.SnapshotV.removeKey
void removeKey()
Definition: NonBlockingHashMapLong.java:1081
com.cliffc.aa.util.NonBlockingHashMapLong.SnapshotV.hasNext
boolean hasNext()
Definition: NonBlockingHashMapLong.java:1054
com.cliffc.aa.util.NonBlockingHashMapLong.SnapshotV._prevK
long _prevK
Definition: NonBlockingHashMapLong.java:1052
com.cliffc.aa.util.NonBlockingHashMapLong.SnapshotV.next
TypeV next()
Definition: NonBlockingHashMapLong.java:1055
com.cliffc.aa.util.NonBlockingHashMapLong.SnapshotV._prevV
TypeV _prevV
Definition: NonBlockingHashMapLong.java:1053