Home
last modified time | relevance | path

Searched refs:makeElement (Results 1 – 22 of 22) sorted by relevance

/libcore/ojluni/src/test/java/util/concurrent/tck/
DCollection8Test.java304 for (int i = 0; i < n; i++) c.add(impl.makeElement(i));
395 Object x = impl.makeElement(i);
434 Object x = impl.makeElement(i);
496 for (int i = 0; i < n; i++) c.add(impl.makeElement(i));
570 for (int i = 0; i < n; i++) c.add(impl.makeElement(i));
605 for (int i = 0; i < n; i++) c.add(impl.makeElement(i));
608 assertEquals(impl.makeElement(0), it.next());
610 assertEquals(impl.makeElement(1), it.next());
622 assertTrue(c.contains(impl.makeElement(i)));
623 assertFalse(c.contains(impl.makeElement(n - 1)));
[all …]
DBlockingQueueTest.java82 protected Object makeElement(int i) { in makeElement() method in BlockingQueueTest
224 Object one = makeElement(1);
242 final Object zero = makeElement(0); in testTimedPollWithOffer()
371 assertFalse(q.contains(makeElement(99)));
372 assertFalse(q.remove(makeElement(99)));
375 q.add(elts[i] = makeElement(i));
DCollectionImplementation.java44 public Object makeElement(int i); in makeElement() method
DArrayListTest.java52 public Object makeElement(int i) { return i; } in suite() method in ArrayListTest.Implementation
DVectorTest.java52 public Object makeElement(int i) { return i; } in suite() method in VectorTest.Implementation
DDelayQueueTest.java60 protected PDelay makeElement(int i) { in makeElement() method in DelayQueueTest.Generic
73 public Object makeElement(int i) { return new PDelay(i); } in suite() method in DelayQueueTest.Implementation
DConcurrentLinkedQueueTest.java57 public Object makeElement(int i) { return i; } in suite() method in ConcurrentLinkedQueueTest.Implementation
DPriorityQueueTest.java56 public Object makeElement(int i) { return i; } in suite() method in PriorityQueueTest.Implementation
DLinkedListTest.java55 public Object makeElement(int i) { return i; } in suite() method in LinkedListTest.Implementation
DPriorityBlockingQueueTest.java76 public Object makeElement(int i) { return i; } in suite() method in PriorityBlockingQueueTest.Implementation
DCopyOnWriteArrayListTest.java60 public Object makeElement(int i) { return i; } in suite() method in CopyOnWriteArrayListTest.Implementation
DConcurrentLinkedDequeTest.java59 public Object makeElement(int i) { return i; } in suite() method in ConcurrentLinkedDequeTest.Implementation
DLinkedBlockingQueueTest.java75 public Object makeElement(int i) { return i; } in suite() method in LinkedBlockingQueueTest.Implementation
DArrayDequeTest.java59 public Object makeElement(int i) { return i; } in suite() method in ArrayDequeTest.Implementation
DLinkedTransferQueueTest.java70 public Object makeElement(int i) { return i; } in suite() method in LinkedTransferQueueTest.Implementation
DArrayBlockingQueueTest.java68 public Object makeElement(int i) { return i; } in suite() method in ArrayBlockingQueueTest.Implementation
DLinkedBlockingDequeTest.java75 public Object makeElement(int i) { return i; } in suite() method in LinkedBlockingDequeTest.Implementation
/libcore/jsr166-tests/src/test/java/jsr166/
DBlockingQueueTest.java58 protected Object makeElement(int i) { in makeElement() method in BlockingQueueTest
200 Object one = makeElement(1);
218 final Object zero = makeElement(0); in testTimedPollWithOffer()
347 assertFalse(q.contains(makeElement(99)));
348 assertFalse(q.remove(makeElement(99)));
351 q.add(elts[i] = makeElement(i));
DCollection8Test.java51 final Object x = impl.makeElement(1); in testForEach()
52 final Object y = impl.makeElement(2); in testForEach()
80 final Object elt = impl.makeElement(1); in testForEachConcurrentStressTest()
DCollectionImplementation.java18 public Object makeElement(int i); in makeElement() method
DDelayQueueTest.java57 protected PDelay makeElement(int i) { in makeElement() method in DelayQueueTest
DLinkedTransferQueueTest.java33 public Object makeElement(int i) { return i; } in makeElement() method in LinkedTransferQueueTest.Implementation