- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for TestQueue (0.07 sec)
-
guava-tests/test/com/google/common/collect/SynchronizedQueueTest.java
public class SynchronizedQueueTest extends TestCase { protected Queue<String> create() { TestQueue<String> inner = new TestQueue<>(); Queue<String> outer = Synchronized.queue(inner, inner.mutex); outer.add("foo"); // necessary because we try to remove elements later on return outer; } private static final class TestQueue<E> implements Queue<E> { private final Queue<E> delegate = Lists.newLinkedList();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Aug 19 20:50:58 UTC 2024 - 4.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SynchronizedQueueTest.java
public class SynchronizedQueueTest extends TestCase { protected Queue<String> create() { TestQueue<String> inner = new TestQueue<>(); Queue<String> outer = Synchronized.queue(inner, inner.mutex); outer.add("foo"); // necessary because we try to remove elements later on return outer; } private static final class TestQueue<E> implements Queue<E> { private final Queue<E> delegate = Lists.newLinkedList();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Aug 19 20:50:58 UTC 2024 - 4.7K bytes - Viewed (0)