Home
last modified time | relevance | path

Searched refs:removeFirstOccurrence (Results 1 – 25 of 29) sorted by relevance

12

/libcore/ojluni/src/test/java/util/SequencedCollection/
DSimpleDeque.java163 public boolean removeFirstOccurrence(Object o) { in removeFirstOccurrence() method in SimpleDeque
164 return deque.removeFirstOccurrence(o); in removeFirstOccurrence()
/libcore/ojluni/src/test/java/util/concurrent/tck/
DArrayDequeTest.java604 assertFalse(q.removeFirstOccurrence(null)); in testRemoveFirstOccurrence()
606 assertTrue(q.removeFirstOccurrence(i)); in testRemoveFirstOccurrence()
610 assertTrue(q.removeFirstOccurrence(i)); in testRemoveFirstOccurrence()
611 assertFalse(q.removeFirstOccurrence(i + 1)); in testRemoveFirstOccurrence()
616 assertFalse(q.removeFirstOccurrence(null)); in testRemoveFirstOccurrence()
617 assertFalse(q.removeFirstOccurrence(42)); in testRemoveFirstOccurrence()
619 assertFalse(q.removeFirstOccurrence(null)); in testRemoveFirstOccurrence()
620 assertFalse(q.removeFirstOccurrence(42)); in testRemoveFirstOccurrence()
993 assertFalse(q.removeFirstOccurrence(null)); in testNeverContainsNull()
DConcurrentLinkedDequeTest.java587 assertTrue(q.removeFirstOccurrence(new Integer(i))); in testRemoveFirstOccurrence()
590 assertTrue(q.removeFirstOccurrence(new Integer(i))); in testRemoveFirstOccurrence()
591 assertFalse(q.removeFirstOccurrence(new Integer(i + 1))); in testRemoveFirstOccurrence()
928 assertFalse(q.removeFirstOccurrence(null)); in testNeverContainsNull()
DLinkedListTest.java663 assertTrue(q.removeFirstOccurrence(new Integer(i))); in testRemoveFirstOccurrence()
666 assertTrue(q.removeFirstOccurrence(new Integer(i))); in testRemoveFirstOccurrence()
667 assertFalse(q.removeFirstOccurrence(new Integer(i + 1))); in testRemoveFirstOccurrence()
DLinkedBlockingDequeTest.java318 assertTrue(q.removeFirstOccurrence(new Integer(i))); in testRemoveFirstOccurrence()
321 assertTrue(q.removeFirstOccurrence(new Integer(i))); in testRemoveFirstOccurrence()
322 assertFalse(q.removeFirstOccurrence(new Integer(i + 1))); in testRemoveFirstOccurrence()
1854 assertFalse(q.removeFirstOccurrence(null));
/libcore/ojluni/src/main/java/java/util/
DDeque.java370 boolean removeFirstOccurrence(Object o); in removeFirstOccurrence() method
DReverseOrderDequeView.java272 public boolean removeFirstOccurrence(Object o) { in removeFirstOccurrence() method in ReverseOrderDequeView
277 return base.removeFirstOccurrence(o); in removeLastOccurrence()
DLinkedList.java824 public boolean removeFirstOccurrence(Object o) { in removeFirstOccurrence() method in LinkedList
1399 public boolean removeFirstOccurrence(Object o) { in removeFirstOccurrence() method in LinkedList.ReverseOrderLinkedListView
1400 return rdeque.removeFirstOccurrence(o); in removeFirstOccurrence()
DArrayDeque.java445 public boolean removeFirstOccurrence(Object o) { in removeFirstOccurrence() method in ArrayDeque
1038 return removeFirstOccurrence(o); in remove()
/libcore/ojluni/annotations/flagged_api/java/util/
DDeque.annotated.java66 public boolean removeFirstOccurrence(java.lang.Object o); in removeFirstOccurrence() method
DLinkedList.annotated.java100 public boolean removeFirstOccurrence(java.lang.Object o) { throw new RuntimeException("Stub!"); } in removeFirstOccurrence() method in LinkedList
/libcore/ojluni/src/main/java/java/util/concurrent/
DBlockingDeque.java406 boolean removeFirstOccurrence(Object o); in removeFirstOccurrence() method
/libcore/ojluni/annotations/sdk/nullability/java/util/
DDeque.annotated.java67 public boolean removeFirstOccurrence(@libcore.util.Nullable java.lang.Object o); in removeFirstOccurrence() method
DArrayDeque.annotated.java72 public boolean removeFirstOccurrence(@libcore.util.Nullable java.lang.Object o) { throw new Runtime… in removeFirstOccurrence() method in ArrayDeque
DLinkedList.annotated.java101 public boolean removeFirstOccurrence(@libcore.util.Nullable java.lang.Object o) { throw new Runtime… in removeFirstOccurrence() method in LinkedList
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DLinkedListTest.java715 assertTrue(testList.removeFirstOccurrence(testObjOne)); in test_removeFirstOccurrence()
716 assertFalse(testList.removeFirstOccurrence(testObjFour)); in test_removeFirstOccurrence()
720 assertTrue(testList.removeFirstOccurrence(testObjOne)); in test_removeFirstOccurrence()
723 assertTrue(testList.removeFirstOccurrence(testObjOne)); in test_removeFirstOccurrence()
726 assertFalse(testList.removeFirstOccurrence(testObjOne)); in test_removeFirstOccurrence()
DArrayDequeTest.java361 assertTrue(testQue.removeFirstOccurrence(testObjOne)); in test_removeFirstOccurrence()
362 assertFalse(testQue.removeFirstOccurrence(testObjFour)); in test_removeFirstOccurrence()
366 assertTrue(testQue.removeFirstOccurrence(testObjOne)); in test_removeFirstOccurrence()
369 assertTrue(testQue.removeFirstOccurrence(testObjOne)); in test_removeFirstOccurrence()
372 assertFalse(testQue.removeFirstOccurrence(testObjOne)); in test_removeFirstOccurrence()
/libcore/jsr166-tests/src/test/java/jsr166/
DConcurrentLinkedDequeTest.java553 assertTrue(q.removeFirstOccurrence(Integer.valueOf(i))); in testRemoveFirstOccurrence()
556 assertTrue(q.removeFirstOccurrence(Integer.valueOf(i))); in testRemoveFirstOccurrence()
557 assertFalse(q.removeFirstOccurrence(Integer.valueOf(i + 1))); in testRemoveFirstOccurrence()
894 assertFalse(q.removeFirstOccurrence(null)); in testNeverContainsNull()
DLinkedListTest.java622 assertTrue(q.removeFirstOccurrence(Integer.valueOf(i))); in testRemoveFirstOccurrence()
625 assertTrue(q.removeFirstOccurrence(Integer.valueOf(i))); in testRemoveFirstOccurrence()
626 assertFalse(q.removeFirstOccurrence(Integer.valueOf(i + 1))); in testRemoveFirstOccurrence()
DArrayDequeTest.java538 assertTrue(q.removeFirstOccurrence(Integer.valueOf(i))); in testRemoveFirstOccurrence()
541 assertTrue(q.removeFirstOccurrence(Integer.valueOf(i))); in testRemoveFirstOccurrence()
542 assertFalse(q.removeFirstOccurrence(Integer.valueOf(i + 1))); in testRemoveFirstOccurrence()
917 assertFalse(q.removeFirstOccurrence(null)); in testNeverContainsNull()
DLinkedBlockingDequeTest.java284 assertTrue(q.removeFirstOccurrence(Integer.valueOf(i))); in testRemoveFirstOccurrence()
287 assertTrue(q.removeFirstOccurrence(Integer.valueOf(i))); in testRemoveFirstOccurrence()
288 assertFalse(q.removeFirstOccurrence(Integer.valueOf(i + 1))); in testRemoveFirstOccurrence()
1820 assertFalse(q.removeFirstOccurrence(null));
/libcore/ojluni/annotations/hiddenapi/java/util/
DArrayDeque.java111 public boolean removeFirstOccurrence(java.lang.Object o) { in removeFirstOccurrence() method in ArrayDeque
DLinkedList.java221 public boolean removeFirstOccurrence(java.lang.Object o) { in removeFirstOccurrence() method in LinkedList
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/
DLinkedBlockingDeque.java160 public boolean removeFirstOccurrence(java.lang.Object o) { in removeFirstOccurrence() method in LinkedBlockingDeque
/libcore/ojluni/src/test/java/util/Collection/
DMOAT.java841 check(!deq.removeFirstOccurrence(e)); in testQueueAddRemove()
871 case 4: check(deq.removeFirstOccurrence(e)); break; in testQueueAddRemove()
895 check(!deq.removeFirstOccurrence(e)); in testQueueAddRemove()
936 case 2: check(deq.removeFirstOccurrence(e)); break; in testQueueAddRemove()
1001 check(!deq.removeFirstOccurrence(e)); in testQueueAddRemove()

12