Home
last modified time | relevance | path

Searched refs:ConcurrentLinkedDeque (Results 1 – 4 of 4) sorted by relevance

/libcore/ojluni/src/test/java/util/concurrent/tck/
DConcurrentLinkedDequeTest.java44 import java.util.concurrent.ConcurrentLinkedDeque;
57 public Class<?> klazz() { return ConcurrentLinkedDeque.class; } in suite()
58 public Collection emptyCollection() { return new ConcurrentLinkedDeque(); } in suite()
71 private ConcurrentLinkedDeque<Integer> populatedDeque(int n) { in populatedDeque()
72 ConcurrentLinkedDeque<Integer> q = new ConcurrentLinkedDeque<>(); in populatedDeque()
87 assertTrue(new ConcurrentLinkedDeque().isEmpty()); in testConstructor1()
88 assertEquals(0, new ConcurrentLinkedDeque().size()); in testConstructor1()
96 new ConcurrentLinkedDeque((Collection)null); in testConstructor3()
106 new ConcurrentLinkedDeque(Arrays.asList(new Integer[SIZE])); in testConstructor4()
119 new ConcurrentLinkedDeque(Arrays.asList(ints)); in testConstructor5()
[all …]
/libcore/jsr166-tests/src/test/java/jsr166/
DConcurrentLinkedDequeTest.java18 import java.util.concurrent.ConcurrentLinkedDeque;
39 private ConcurrentLinkedDeque<Integer> populatedDeque(int n) { in populatedDeque()
40 ConcurrentLinkedDeque<Integer> q = new ConcurrentLinkedDeque<Integer>(); in populatedDeque()
53 assertTrue(new ConcurrentLinkedDeque().isEmpty()); in testConstructor1()
54 assertEquals(0, new ConcurrentLinkedDeque().size()); in testConstructor1()
62 new ConcurrentLinkedDeque((Collection)null); in testConstructor3()
72 new ConcurrentLinkedDeque(Arrays.asList(new Integer[SIZE])); in testConstructor4()
85 new ConcurrentLinkedDeque(Arrays.asList(ints)); in testConstructor5()
97 ConcurrentLinkedDeque q = new ConcurrentLinkedDeque(Arrays.asList(ints)); in testConstructor6()
106 ConcurrentLinkedDeque q = new ConcurrentLinkedDeque(); in testEmpty()
[all …]
/libcore/ojluni/src/main/java/java/util/concurrent/
DConcurrentLinkedDeque.java93 public class ConcurrentLinkedDeque<E> class
804 public ConcurrentLinkedDeque() { in ConcurrentLinkedDeque() method in ConcurrentLinkedDeque
817 public ConcurrentLinkedDeque(Collection<? extends E> c) { in ConcurrentLinkedDeque() method in ConcurrentLinkedDeque
1442 final ConcurrentLinkedDeque<E> queue;
1446 CLDSpliterator(ConcurrentLinkedDeque<E> queue) { in CLDSpliterator()
1452 final ConcurrentLinkedDeque<E> q = this.queue; in trySplit()
1485 final ConcurrentLinkedDeque<E> q = this.queue; in forEachRemaining()
1502 final ConcurrentLinkedDeque<E> q = this.queue; in tryAdvance()
1621 (ConcurrentLinkedDeque.class.getDeclaredField("head"));
1623 (ConcurrentLinkedDeque.class.getDeclaredField("tail"));
/libcore/
Dopenjdk_java_files.bp941 "ojluni/src/main/java/java/util/concurrent/ConcurrentLinkedDeque.java",