Javolution 6.0.0 java
javolution.util.internal.map.SharedMapImpl< K, V > Class Template Reference
Inheritance diagram for javolution.util.internal.map.SharedMapImpl< K, V >:
[legend]
Collaboration diagram for javolution.util.internal.map.SharedMapImpl< K, V >:
[legend]

Classes

class  IteratorImpl
 

Public Member Functions

 SharedMapImpl (MapService< K, V > target)
 
 SharedMapImpl (MapService< K, V > target, ReadWriteLockImpl lock)
 
void clear ()
 
boolean containsKey (Object key)
 
boolean containsValue (Object value)
 
get (Object key)
 
boolean isEmpty ()
 
Iterator< Entry< K, V > > iterator ()
 
Equality<? super K > keyComparator ()
 
put (K key, V value)
 
void putAll (Map<? extends K, ? extends V > m)
 
putIfAbsent (K key, V value)
 
remove (Object key)
 
boolean remove (Object key, Object value)
 
replace (K key, V value)
 
boolean replace (K key, V oldValue, V newValue)
 
int size ()
 
MapService< K, V >[] split (int n)
 
MapService< K, V > threadSafe ()
 
Equality<? super V > valueComparator ()
 
MapView< K, V > clone ()
 
SetService< Entry< K, V > > entrySet ()
 
SetService< K > keySet ()
 
void perform (Consumer< MapService< K, V >> action, MapService< K, V > view)
 
void perform (Consumer< T > action, T part)
 
void update (Consumer< MapService< K, V >> action, MapService< K, V > view)
 
void update (Consumer< T > action, T part)
 
CollectionService< V > values ()
 

Protected Member Functions

MapService< K, V > cloneTarget ()
 
MapService< K, V > target ()
 

Protected Attributes

ReadWriteLockImpl lock
 
transient Thread updatingThread
 

Private Attributes

MapService< K, V > target
 

Static Private Attributes

static final long serialVersionUID = 0x600L
 

Detailed Description

A shared view over a map.

Definition at line 21 of file SharedMapImpl.java.

Constructor & Destructor Documentation

◆ SharedMapImpl() [1/2]

Definition at line 60 of file SharedMapImpl.java.

60  {
61  this(target, new ReadWriteLockImpl());
62  }

References javolution.util.internal.map.MapView< K, V >.target.

◆ SharedMapImpl() [2/2]

Member Function Documentation

◆ clear()

Reimplemented from javolution.util.internal.map.MapView< K, V >.

Definition at line 70 of file SharedMapImpl.java.

70  {
72  try {
73  target().clear();
74  } finally {
76  }
77  }

References javolution.util.internal.map.SharedMapImpl< K, V >.lock, javolution.util.internal.collection.ReadWriteLockImpl.WriteLock.lock(), javolution.util.internal.map.MapView< K, V >.target, javolution.util.internal.collection.ReadWriteLockImpl.WriteLock.unlock(), and javolution.util.internal.collection.ReadWriteLockImpl.writeLock.

Here is the call graph for this function:

◆ clone()

MapView<K, V> javolution.util.internal.map.MapView< K, V >.clone ( )
inherited

Returns a copy of this map; updates of the copy should not impact the original.

Implements javolution.util.service.MapService< K, V >.

Reimplemented in javolution.util.internal.map.AtomicMapImpl< K, V >, and javolution.util.internal.map.FastMapImpl< K, V >.

Definition at line 232 of file MapView.java.

232  {
233  try {
234  MapView<K, V> copy = (MapView<K, V>) super.clone();
235  if (target != null) { // Not a root class.
236  copy.target = target.clone();
237  }
238  return copy;
239  } catch (CloneNotSupportedException e) {
240  throw new Error("Should not happen since target is cloneable");
241  }
242  }

References javolution.util.internal.map.MapView< K, V >.clone(), and javolution.util.internal.map.MapView< K, V >.target.

Referenced by javolution.util.internal.map.MapView< K, V >.clone(), and javolution.util.internal.map.MapView< K, V >.split().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ cloneTarget()

MapService<K, V> javolution.util.internal.map.SharedMapImpl< K, V >.cloneTarget ( )
protected

Returns a clone copy of target.

Definition at line 237 of file SharedMapImpl.java.

237  {
238  try {
239  return target().clone();
240  } catch (CloneNotSupportedException e) {
241  throw new Error("Cannot happen since target is Cloneable.");
242  }
243  }

References javolution.util.internal.map.MapView< K, V >.target.

Referenced by javolution.util.internal.map.SharedMapImpl< K, V >.IteratorImpl.IteratorImpl().

Here is the caller graph for this function:

◆ containsKey()

boolean javolution.util.internal.map.SharedMapImpl< K, V >.containsKey ( Object  key)

Reimplemented from javolution.util.internal.map.MapView< K, V >.

Definition at line 80 of file SharedMapImpl.java.

80  {
81  lock.readLock.lock();
82  try {
83  return target().containsKey(key);
84  } finally {
86  }
87  }

References javolution.util.internal.collection.ReadWriteLockImpl.ReadLock.lock(), javolution.util.internal.map.SharedMapImpl< K, V >.lock, javolution.util.internal.collection.ReadWriteLockImpl.readLock, javolution.util.internal.map.MapView< K, V >.target, and javolution.util.internal.collection.ReadWriteLockImpl.ReadLock.unlock().

Here is the call graph for this function:

◆ containsValue()

boolean javolution.util.internal.map.SharedMapImpl< K, V >.containsValue ( Object  value)

Reimplemented from javolution.util.internal.map.MapView< K, V >.

Definition at line 90 of file SharedMapImpl.java.

90  {
91  lock.readLock.lock();
92  try {
93  return target().containsValue(value);
94  } finally {
96  }
97  }

References javolution.util.internal.collection.ReadWriteLockImpl.ReadLock.lock(), javolution.util.internal.map.SharedMapImpl< K, V >.lock, javolution.util.internal.collection.ReadWriteLockImpl.readLock, javolution.util.internal.map.MapView< K, V >.target, and javolution.util.internal.collection.ReadWriteLockImpl.ReadLock.unlock().

Here is the call graph for this function:

◆ entrySet()

SetService<Entry<K, V> > javolution.util.internal.map.MapView< K, V >.entrySet ( )
inherited

Returns a set view over the entries of this map. The set support adding/removing entries. Two entries are considered equals if they have the same key regardless of their values.

Implements javolution.util.service.MapService< K, V >.

Reimplemented in javolution.util.internal.map.sorted.SortedMapView< K, V >, javolution.util.internal.map.sorted.SharedSortedMapImpl< K, V >, javolution.util.internal.map.sorted.AtomicSortedMapImpl< K, V >, and javolution.util.internal.map.sorted.UnmodifiableSortedMapImpl< K, V >.

Definition at line 253 of file MapView.java.

253  {
254  return new EntrySet();
255  }

Referenced by javolution.util.internal.map.MapView< K, V >.KeySet.KeySet(), and javolution.util.internal.map.MapView< K, V >.Values.Values().

Here is the caller graph for this function:

◆ get()

V javolution.util.internal.map.SharedMapImpl< K, V >.get ( Object  key)

Reimplemented from javolution.util.internal.map.MapView< K, V >.

Definition at line 100 of file SharedMapImpl.java.

100  {
101  lock.readLock.lock();
102  try {
103  return target().get(key);
104  } finally {
105  lock.readLock.unlock();
106  }
107  }

References javolution.util.internal.collection.ReadWriteLockImpl.ReadLock.lock(), javolution.util.internal.map.SharedMapImpl< K, V >.lock, javolution.util.internal.collection.ReadWriteLockImpl.readLock, javolution.util.internal.map.MapView< K, V >.target, and javolution.util.internal.collection.ReadWriteLockImpl.ReadLock.unlock().

Here is the call graph for this function:

◆ isEmpty()

boolean javolution.util.internal.map.SharedMapImpl< K, V >.isEmpty ( )

Reimplemented from javolution.util.internal.map.MapView< K, V >.

Definition at line 110 of file SharedMapImpl.java.

110  {
111  lock.readLock.lock();
112  try {
113  return target().isEmpty();
114  } finally {
115  lock.readLock.unlock();
116  }
117  }

References javolution.util.internal.collection.ReadWriteLockImpl.ReadLock.lock(), javolution.util.internal.map.SharedMapImpl< K, V >.lock, javolution.util.internal.collection.ReadWriteLockImpl.readLock, javolution.util.internal.map.MapView< K, V >.target, and javolution.util.internal.collection.ReadWriteLockImpl.ReadLock.unlock().

Here is the call graph for this function:

◆ iterator()

Iterator<Entry<K, V> > javolution.util.internal.map.SharedMapImpl< K, V >.iterator ( )

Returns an iterator over this map entries.

Reimplemented from javolution.util.internal.map.MapView< K, V >.

Definition at line 120 of file SharedMapImpl.java.

120  {
121  return new IteratorImpl();
122  }

◆ keyComparator()

Equality<? super K> javolution.util.internal.map.SharedMapImpl< K, V >.keyComparator ( )

Returns the key comparator used for key equality or order if the map is sorted.

Reimplemented from javolution.util.internal.map.MapView< K, V >.

Definition at line 125 of file SharedMapImpl.java.

125  {
126  return target().keyComparator();
127  }

References javolution.util.internal.map.MapView< K, V >.target.

◆ keySet()

SetService<K> javolution.util.internal.map.MapView< K, V >.keySet ( )
inherited

Returns a set view over the key of this map, the set support adding new key for which the value is automatically

null

.

Implements javolution.util.service.MapService< K, V >.

Reimplemented in javolution.util.internal.map.sorted.SortedMapView< K, V >, javolution.util.internal.map.sorted.SharedSortedMapImpl< K, V >, javolution.util.internal.map.sorted.AtomicSortedMapImpl< K, V >, and javolution.util.internal.map.sorted.UnmodifiableSortedMapImpl< K, V >.

Definition at line 272 of file MapView.java.

272  {
273  return new KeySet();
274  }

Referenced by javolution.util.FastSet< Index >.FastSet().

Here is the caller graph for this function:

◆ perform() [1/2]

void javolution.util.internal.map.MapView< K, V >.perform ( Consumer< MapService< K, V >>  action,
MapService< K, V >  view 
)
inherited

Reimplemented in javolution.util.internal.map.ParallelMapImpl< K, V >, and javolution.util.internal.map.SequentialMapImpl< K, V >.

Definition at line 277 of file MapView.java.

277  {
278  if (target == null) {
279  action.accept(view);
280  } else {
281  target.perform(action, view);
282  }
283  }

References javolution.util.internal.map.MapView< K, V >.target.

Referenced by javolution.util.internal.map.MapView< K, V >.EntrySet.perform().

Here is the caller graph for this function:

◆ perform() [2/2]

void javolution.util.function.Splittable< T >.perform ( Consumer< T >  action,
part 
)
inherited

Executes a read-only action on the specified part of this object.

Parameters
actionthe read-only action.
partthis object or a part of it.
Exceptions
UnsupportedOperationExceptionif the action tries to update the specified part.

◆ put()

V javolution.util.internal.map.SharedMapImpl< K, V >.put ( key,
value 
)

Reimplemented from javolution.util.internal.map.MapView< K, V >.

Definition at line 130 of file SharedMapImpl.java.

130  {
131  lock.writeLock.lock();
132  try {
133  return target().put(key, value);
134  } finally {
136  }
137  }

References javolution.util.internal.map.SharedMapImpl< K, V >.lock, javolution.util.internal.collection.ReadWriteLockImpl.WriteLock.lock(), javolution.util.internal.map.MapView< K, V >.target, javolution.util.internal.collection.ReadWriteLockImpl.WriteLock.unlock(), and javolution.util.internal.collection.ReadWriteLockImpl.writeLock.

Here is the call graph for this function:

◆ putAll()

void javolution.util.internal.map.SharedMapImpl< K, V >.putAll ( Map<? extends K, ? extends V >  m)

Reimplemented from javolution.util.internal.map.MapView< K, V >.

Definition at line 140 of file SharedMapImpl.java.

140  {
141  lock.writeLock.lock();
142  try {
143  target().putAll(m);
144  } finally {
146  }
147  }

References javolution.util.internal.map.SharedMapImpl< K, V >.lock, javolution.util.internal.collection.ReadWriteLockImpl.WriteLock.lock(), javolution.util.internal.map.MapView< K, V >.target, javolution.util.internal.collection.ReadWriteLockImpl.WriteLock.unlock(), and javolution.util.internal.collection.ReadWriteLockImpl.writeLock.

Here is the call graph for this function:

◆ putIfAbsent()

V javolution.util.internal.map.SharedMapImpl< K, V >.putIfAbsent ( key,
value 
)

Reimplemented from javolution.util.internal.map.MapView< K, V >.

Definition at line 150 of file SharedMapImpl.java.

150  {
151  lock.writeLock.lock();
152  try {
153  return target().putIfAbsent(key, value);
154  } finally {
156  }
157  }

References javolution.util.internal.map.SharedMapImpl< K, V >.lock, javolution.util.internal.collection.ReadWriteLockImpl.WriteLock.lock(), javolution.util.internal.map.MapView< K, V >.target, javolution.util.internal.collection.ReadWriteLockImpl.WriteLock.unlock(), and javolution.util.internal.collection.ReadWriteLockImpl.writeLock.

Here is the call graph for this function:

◆ remove() [1/2]

V javolution.util.internal.map.SharedMapImpl< K, V >.remove ( Object  key)

Reimplemented from javolution.util.internal.map.MapView< K, V >.

Definition at line 160 of file SharedMapImpl.java.

160  {
161  lock.writeLock.lock();
162  try {
163  return target().remove(key);
164  } finally {
166  }
167  }

References javolution.util.internal.map.SharedMapImpl< K, V >.lock, javolution.util.internal.collection.ReadWriteLockImpl.WriteLock.lock(), javolution.util.internal.map.MapView< K, V >.target, javolution.util.internal.collection.ReadWriteLockImpl.WriteLock.unlock(), and javolution.util.internal.collection.ReadWriteLockImpl.writeLock.

Referenced by javolution.util.internal.map.SharedMapImpl< K, V >.IteratorImpl.remove().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ remove() [2/2]

boolean javolution.util.internal.map.SharedMapImpl< K, V >.remove ( Object  key,
Object  value 
)

Reimplemented from javolution.util.internal.map.MapView< K, V >.

Definition at line 170 of file SharedMapImpl.java.

170  {
171  lock.writeLock.lock();
172  try {
173  return target().remove(key, value);
174  } finally {
176  }
177  }

References javolution.util.internal.map.SharedMapImpl< K, V >.lock, javolution.util.internal.collection.ReadWriteLockImpl.WriteLock.lock(), javolution.util.internal.map.MapView< K, V >.target, javolution.util.internal.collection.ReadWriteLockImpl.WriteLock.unlock(), and javolution.util.internal.collection.ReadWriteLockImpl.writeLock.

Here is the call graph for this function:

◆ replace() [1/2]

boolean javolution.util.internal.map.SharedMapImpl< K, V >.replace ( key,
oldValue,
newValue 
)

Reimplemented from javolution.util.internal.map.MapView< K, V >.

Definition at line 190 of file SharedMapImpl.java.

190  {
191  lock.writeLock.lock();
192  try {
193  return target().replace(key, oldValue, newValue);
194  } finally {
196  }
197  }

References javolution.util.internal.map.SharedMapImpl< K, V >.lock, javolution.util.internal.collection.ReadWriteLockImpl.WriteLock.lock(), javolution.util.internal.map.MapView< K, V >.target, javolution.util.internal.collection.ReadWriteLockImpl.WriteLock.unlock(), and javolution.util.internal.collection.ReadWriteLockImpl.writeLock.

Here is the call graph for this function:

◆ replace() [2/2]

V javolution.util.internal.map.SharedMapImpl< K, V >.replace ( key,
value 
)

Reimplemented from javolution.util.internal.map.MapView< K, V >.

Definition at line 180 of file SharedMapImpl.java.

180  {
181  lock.writeLock.lock();
182  try {
183  return target().replace(key, value);
184  } finally {
186  }
187  }

References javolution.util.internal.map.SharedMapImpl< K, V >.lock, javolution.util.internal.collection.ReadWriteLockImpl.WriteLock.lock(), javolution.util.internal.map.MapView< K, V >.target, javolution.util.internal.collection.ReadWriteLockImpl.WriteLock.unlock(), and javolution.util.internal.collection.ReadWriteLockImpl.writeLock.

Here is the call graph for this function:

◆ size()

Reimplemented from javolution.util.internal.map.MapView< K, V >.

Definition at line 200 of file SharedMapImpl.java.

200  {
201  lock.readLock.lock();
202  try {
203  return target().size();
204  } finally {
205  lock.readLock.unlock();
206  }
207  }

References javolution.util.internal.collection.ReadWriteLockImpl.ReadLock.lock(), javolution.util.internal.map.SharedMapImpl< K, V >.lock, javolution.util.internal.collection.ReadWriteLockImpl.readLock, javolution.util.internal.map.MapView< K, V >.target, and javolution.util.internal.collection.ReadWriteLockImpl.ReadLock.unlock().

Here is the call graph for this function:

◆ split()

MapService<K, V> [] javolution.util.internal.map.SharedMapImpl< K, V >.split ( int  n)

Returns

n

distinct parts of this object. This method may return an array of size less than

n

(e.g. an array of size one if this object cannot split).

Parameters
nthe number of parts.
Returns
the distinct parts (or views) for this object.
Exceptions
IllegalArgumentExceptionif
n <= 1

Reimplemented from javolution.util.internal.map.MapView< K, V >.

Definition at line 211 of file SharedMapImpl.java.

211  {
212  MapService<K, V>[] tmp;
213  lock.readLock.lock();
214  try {
215  tmp = target().split(n);
216  } finally {
217  lock.readLock.unlock();
218  }
219  MapService<K, V>[] result = new MapService[tmp.length];
220  for (int i = 0; i < tmp.length; i++) {
221  result[i] = new SharedMapImpl<K, V>(tmp[i], lock); // Same lock.
222  }
223  return result;
224  }

References javolution.util.internal.collection.ReadWriteLockImpl.ReadLock.lock(), javolution.util.internal.map.SharedMapImpl< K, V >.lock, javolution.util.internal.collection.ReadWriteLockImpl.readLock, javolution.util.internal.map.MapView< K, V >.target, and javolution.util.internal.collection.ReadWriteLockImpl.ReadLock.unlock().

Here is the call graph for this function:

◆ target()

◆ threadSafe()

Returns a thread-safe version of this service (used during parallel updates).

Reimplemented from javolution.util.internal.map.MapView< K, V >.

Reimplemented in javolution.util.internal.map.sorted.SharedSortedMapImpl< K, V >.

Definition at line 227 of file SharedMapImpl.java.

227  {
228  return this;
229  }

◆ update() [1/2]

void javolution.util.internal.map.MapView< K, V >.update ( Consumer< MapService< K, V >>  action,
MapService< K, V >  view 
)
inherited

Reimplemented in javolution.util.internal.map.ParallelMapImpl< K, V >, javolution.util.internal.map.AtomicMapImpl< K, V >, and javolution.util.internal.map.SequentialMapImpl< K, V >.

Definition at line 361 of file MapView.java.

361  {
362  if (target == null) {
363  action.accept(view);
364  } else {
365  target.update(action, view);
366  }
367  }

References javolution.util.internal.map.MapView< K, V >.target.

Referenced by javolution.util.internal.map.MapView< K, V >.EntrySet.update().

Here is the caller graph for this function:

◆ update() [2/2]

void javolution.util.function.Splittable< T >.update ( Consumer< T >  action,
part 
)
inherited

Executes an update action on the specified part of this object. Any change to the part is reflected in the whole (this object).

Parameters
actionthe action authorized to update this object part.
partthis object or a part of it.

◆ valueComparator()

Equality<? super V> javolution.util.internal.map.SharedMapImpl< K, V >.valueComparator ( )

Returns the value comparator used for value equality.

Reimplemented from javolution.util.internal.map.MapView< K, V >.

Definition at line 232 of file SharedMapImpl.java.

232  {
233  return target().valueComparator();
234  }

References javolution.util.internal.map.MapView< K, V >.target.

◆ values()

Returns a collection view over the values of this map, the collection support value/entry removal but not adding new values.

Implements javolution.util.service.MapService< K, V >.

Definition at line 373 of file MapView.java.

373  {
374  return new Values();
375  }

Referenced by javolution.util.internal.map.MapView< K, V >.containsValue().

Here is the caller graph for this function:

Member Data Documentation

◆ lock

◆ serialVersionUID

final long javolution.util.internal.map.SharedMapImpl< K, V >.serialVersionUID = 0x600L
staticprivate

Definition at line 56 of file SharedMapImpl.java.

◆ target

MapService<K, V> javolution.util.internal.map.MapView< K, V >.target
privateinherited

Reimplemented in javolution.util.internal.map.sorted.SortedMapView< K, V >, javolution.util.internal.map.sorted.SharedSortedMapImpl< K, V >, and javolution.util.internal.map.sorted.UnmodifiableSortedMapImpl< K, V >.

Definition at line 213 of file MapView.java.

Referenced by javolution.util.internal.map.AtomicMapImpl< K, V >.AtomicMapImpl(), javolution.util.internal.map.sorted.AtomicSortedMapImpl< K, V >.AtomicSortedMapImpl(), javolution.util.internal.map.SharedMapImpl< K, V >.clear(), javolution.util.internal.map.MapView< K, V >.clone(), javolution.util.internal.map.AtomicMapImpl< K, V >.cloneTarget(), javolution.util.internal.map.SharedMapImpl< K, V >.cloneTarget(), javolution.util.internal.map.sorted.AtomicSortedMapImpl< K, V >.comparator(), javolution.util.internal.map.SequentialMapImpl< K, V >.containsKey(), javolution.util.internal.map.ParallelMapImpl< K, V >.containsKey(), javolution.util.internal.map.UnmodifiableMapImpl< K, V >.containsKey(), javolution.util.internal.map.SharedMapImpl< K, V >.containsKey(), javolution.util.internal.map.SharedMapImpl< K, V >.containsValue(), javolution.util.internal.map.SequentialMapImpl< K, V >.get(), javolution.util.internal.map.ParallelMapImpl< K, V >.get(), javolution.util.internal.map.UnmodifiableMapImpl< K, V >.get(), javolution.util.internal.map.SharedMapImpl< K, V >.get(), javolution.util.internal.map.SharedMapImpl< K, V >.isEmpty(), javolution.util.internal.map.SequentialMapImpl< K, V >.iterator(), javolution.util.internal.map.ParallelMapImpl< K, V >.iterator(), javolution.util.internal.map.SequentialMapImpl< K, V >.keyComparator(), javolution.util.internal.map.ParallelMapImpl< K, V >.keyComparator(), javolution.util.internal.map.UnmodifiableMapImpl< K, V >.keyComparator(), javolution.util.internal.map.SharedMapImpl< K, V >.keyComparator(), javolution.util.internal.map.MapView< K, V >.MapView(), javolution.util.internal.map.ParallelMapImpl< K, V >.ParallelMapImpl(), javolution.util.internal.map.ParallelMapImpl< K, V >.perform(), javolution.util.internal.map.MapView< K, V >.perform(), javolution.util.internal.map.SequentialMapImpl< K, V >.put(), javolution.util.internal.map.ParallelMapImpl< K, V >.put(), javolution.util.internal.map.AtomicMapImpl< K, V >.put(), javolution.util.internal.map.SharedMapImpl< K, V >.put(), javolution.util.internal.map.AtomicMapImpl< K, V >.putAll(), javolution.util.internal.map.SharedMapImpl< K, V >.putAll(), javolution.util.internal.map.AtomicMapImpl< K, V >.putIfAbsent(), javolution.util.internal.map.SharedMapImpl< K, V >.putIfAbsent(), javolution.util.internal.map.SequentialMapImpl< K, V >.remove(), javolution.util.internal.map.ParallelMapImpl< K, V >.remove(), javolution.util.internal.map.AtomicMapImpl< K, V >.remove(), javolution.util.internal.map.SharedMapImpl< K, V >.remove(), javolution.util.internal.map.AtomicMapImpl< K, V >.replace(), javolution.util.internal.map.SharedMapImpl< K, V >.replace(), javolution.util.internal.map.SequentialMapImpl< K, V >.SequentialMapImpl(), javolution.util.internal.map.SharedMapImpl< K, V >.SharedMapImpl(), javolution.util.internal.map.SharedMapImpl< K, V >.size(), javolution.util.internal.map.SharedMapImpl< K, V >.split(), javolution.util.internal.map.MapView< K, V >.split(), javolution.util.internal.map.MapView< K, V >.target(), javolution.util.internal.map.AtomicMapImpl< K, V >.targetView(), javolution.util.internal.map.UnmodifiableMapImpl< K, V >.UnmodifiableMapImpl(), javolution.util.internal.map.ParallelMapImpl< K, V >.update(), javolution.util.internal.map.AtomicMapImpl< K, V >.update(), javolution.util.internal.map.MapView< K, V >.update(), javolution.util.internal.map.SequentialMapImpl< K, V >.valueComparator(), javolution.util.internal.map.UnmodifiableMapImpl< K, V >.valueComparator(), javolution.util.internal.map.ParallelMapImpl< K, V >.valueComparator(), and javolution.util.internal.map.SharedMapImpl< K, V >.valueComparator().

◆ updatingThread

transient Thread javolution.util.internal.map.SharedMapImpl< K, V >.updatingThread
protected

Definition at line 58 of file SharedMapImpl.java.


The documentation for this class was generated from the following file:
javolution.util.internal.collection.ReadWriteLockImpl.writeLock
final WriteLock writeLock
Definition: ReadWriteLockImpl.java:124
javolution.util.internal.collection.ReadWriteLockImpl.readLock
final ReadLock readLock
Definition: ReadWriteLockImpl.java:123
javolution.util.internal.collection.ReadWriteLockImpl.WriteLock.unlock
void unlock()
Definition: ReadWriteLockImpl.java:114
EntrySet
javolution.util.internal.collection.ReadWriteLockImpl.ReadLock.lock
void lock()
Definition: ReadWriteLockImpl.java:30
javolution.util.internal.collection.ReadWriteLockImpl.WriteLock.lock
void lock()
Definition: ReadWriteLockImpl.java:79
javolution.util.internal.collection.ReadWriteLockImpl.ReadLock.unlock
void unlock()
Definition: ReadWriteLockImpl.java:64
javolution.util.internal.map.SharedMapImpl.lock
ReadWriteLockImpl lock
Definition: SharedMapImpl.java:57
javolution.util.internal.map.MapView.target
MapService< K, V > target
Definition: MapView.java:213