HomeSort by relevance Sort by last modified time
    Searched refs:Synchronized (Results 1 - 25 of 110) sorted by null

1 2 3 4 5

  /external/guava/guava-tests/test/com/google/common/collect/
SynchronizedBiMapTest.java 21 import com.google.common.collect.Synchronized.SynchronizedBiMap;
22 import com.google.common.collect.Synchronized.SynchronizedSet;
36 * Tests for {@code Synchronized#biMap}.
45 .named("Synchronized.biMap[TestBiMap]")
72 BiMap<K, V> outer = Synchronized.biMap(inner, mutex);
95 BiMap<String, String> result = Synchronized.biMap(backing, mutex);
SynchronizedNavigableSetTest.java 19 import com.google.common.collect.Synchronized.SynchronizedNavigableSet;
20 import com.google.common.collect.Synchronized.SynchronizedSortedSet;
51 Synchronized.navigableSet(inner, MUTEX);
162 Synchronized.navigableSet(inner, MUTEX);
SynchronizedMapTest.java 21 import com.google.common.collect.Synchronized.SynchronizedCollection;
22 import com.google.common.collect.Synchronized.SynchronizedSet;
34 * Tests for {@code Synchronized#map}.
43 Map<K, V> outer = Synchronized.map(inner, mutex);
143 * collection views are synchronized correctly.
SynchronizedNavigableMapTest.java 19 import com.google.common.collect.Synchronized.SynchronizedNavigableMap;
20 import com.google.common.collect.Synchronized.SynchronizedNavigableSet;
21 import com.google.common.collect.Synchronized.SynchronizedSortedMap;
50 NavigableMap<K, V> outer = Synchronized.navigableMap(inner, mutex);
245 Synchronized.navigableMap(inner, mutex);
SynchronizedQueueTest.java 26 * Tests for {@link Synchronized#queue} and {@link Queues#synchronizedQueue}.
34 Queue<String> outer = Synchronized.queue(inner, inner.mutex);
SynchronizedSetTest.java 38 * Tests for {@code Synchronized#set}.
51 Set<String> outer = Synchronized.set(inner, inner.mutex);
56 .named("Synchronized.set")
SynchronizedDequeTest.java 26 * Tests for {@link Synchronized#deque} and {@link Queues#synchronizedDeque}.
34 Deque<String> outer = Synchronized.deque(inner, inner.mutex);
SynchronizedMultimapTest.java 42 * Tests for {@code Synchronized#multimap}.
55 SetMultimap<String, String> outer = Synchronized.setMultimap(inner, inner.mutex);
62 .named("Synchronized.setMultimap")
126 /* TODO: verify that the Collection is also synchronized? */
170 /* TODO: verify that the Set is also synchronized? */
176 /* TODO: verify that the Set is also synchronized? */
182 /* TODO: verify that the Collection is also synchronized? */
188 /* TODO: verify that the Collection is also synchronized? */
194 /* TODO: verify that the Map is also synchronized? */
  /external/guava/guava/src/com/google/common/collect/
Queues.java 337 * Returns a synchronized (thread-safe) queue backed by the specified queue. In order to
346 * queue.add(element); // Needn't be in synchronized block
348 * synchronized (queue) { // Must synchronize on queue!
349 * Iterator<E> i = queue.iterator(); // Must be in synchronized block
359 * @param queue the queue to be wrapped in a synchronized view
360 * @return a synchronized view of the specified queue
364 return Synchronized.queue(queue, null);
368 * Returns a synchronized (thread-safe) deque backed by the specified deque. In order to
377 * deque.add(element); // Needn't be in synchronized block
379 * synchronized (deque) { // Must synchronize on deque
    [all...]
Synchronized.java 47 * Synchronized collection views. The returned synchronized collection views are
60 final class Synchronized {
61 private Synchronized() {}
79 synchronized (mutex) {
91 synchronized (mutex) {
119 synchronized (mutex) {
126 synchronized (mutex) {
133 synchronized (mutex) {
140 synchronized (mutex)
    [all...]