/libcore/luni/src/test/java/libcore/java/util/ |
H A D | OldAndroidHashMapTest.java | 60 map.remove("three"); 73 assertNull(map.remove(null)); 74 assertNull(map.remove("one")); 97 assertEquals(0, map.remove(null).intValue()); 98 assertEquals(1, map.remove("one").intValue()); 99 assertEquals(2, map.remove("two").intValue()); 100 assertEquals(3, map.remove("three").intValue()); 108 assertNull(map.remove(null)); 109 assertNull(map.remove("one"));
|
H A D | OldAbstractSetTest.java | 42 public void remove() { 78 public void remove() {
|
/libcore/ojluni/src/main/java/java/util/ |
H A D | AbstractQueue.java | 46 * elements. Methods {@link #add add}, {@link #remove remove}, and 112 public E remove() { method in class:AbstractQueue 121 * Retrieves, but does not remove, the head of this queue. This method
|
H A D | Set.java | 246 * @throws UnsupportedOperationException if the <tt>remove</tt> operation 249 boolean remove(Object o); method in interface:Set 318 * @see #remove(Object) 340 * @see #remove(Object)
|
H A D | AbstractSequentialList.java | 38 * <tt>remove(int index)</tt>) on top of the list's list iterator, instead of 49 * should additionally implement the list iterator's <tt>remove</tt> and 160 * the element with <tt>ListIterator.remove</tt>. 164 * implement the <tt>remove</tt> operation. 169 public E remove(int index) { method in class:AbstractSequentialList 173 e.remove();
|
H A D | Collection.java | 308 * @throws UnsupportedOperationException if the <tt>remove</tt> operation 311 boolean remove(Object o); method in interface:Collection 382 * @see #remove(Object) 395 * {@link Iterator#remove()}. If the collection's iterator does not 415 each.remove(); 441 * @see #remove(Object)
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
H A D | BlockingQueue.java | 79 * <td>{@link #remove remove()}</td> 108 * possible to remove an arbitrary element from a queue using 109 * {@code remove(x)}. However, such operations are in general 289 * insert or remove an element. 311 boolean remove(Object o); method in interface:BlockingQueue
|
H A D | BlockingDeque.java | 164 * <td>{@link #remove() remove()}</td> 527 E remove(); method in interface:BlockingDeque 568 * Retrieves, but does not remove, the head of the queue represented by 581 * Retrieves, but does not remove, the head of the queue represented by 610 boolean remove(Object o); method in interface:BlockingDeque
|
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/ |
H A D | StreamOpFlagTestHelper.java | 39 allStreamFlags.remove(f);
|
/libcore/support/src/test/java/tests/support/ |
H A D | Support_SetTest.java | 41 .remove(new Integer(50))); 43 "Set Test - Adding and removing a duplicate element failed to remove it",
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
H A D | HashtableTest.java | 271 // ht.remove("12"); 272 // ht.remove("9"); 401 ht.remove(String.valueOf(i - 1)); 450 ht.remove("initial"); 484 it.remove(); 486 it.remove(); 489 list.remove(remove1); 490 list.remove(remove2); 507 it2.remove(); 519 assertTrue("should contain key", s1.remove("Ke [all...] |
H A D | AbstractSequentialListTest.java | 99 public void remove() { method in class:AbstractSequentialListTest.Mock_unsupportedListIterator 138 public void remove() { method in class:AbstractSequentialListTest.Mock_ListIterator 199 strV.remove("String"); 209 strV.remove(null); 341 public void remove() { 456 public void remove() { 467 asl.remove(asl.size() + 1); 474 asl.remove(-1); 482 asl.remove(i); 529 public void remove() { [all...] |
H A D | ArrayListTest.java | 173 alist.remove(size); 256 list1.remove(0); 286 list1.remove(location); 413 originalList.remove(0); 414 originalList.remove(0); 550 al.remove(0); 678 * java.util.ArrayList#remove(int) 681 // Test for method java.lang.Object java.util.ArrayList.remove(int) 682 alist.remove(10); 683 assertEquals("Failed to remove elemen [all...] |
H A D | SortedMapTestBase.java | 104 j.remove(); 105 i.remove(); 146 assertEquals(ref.remove(key), map.remove(key)); 157 assertEquals(ref.remove(key), map.remove(key)); 176 j.remove(); 177 i.remove(); 273 map.remove("one"); 342 j.remove(); [all...] |
/libcore/jsr166-tests/src/test/java/jsr166/ |
H A D | ConcurrentLinkedQueueTest.java | 108 q.remove(); 109 q.remove(); 120 q.remove(); 274 * remove removes next element, or throws NSEE if empty 279 assertEquals(i, q.remove()); 282 q.remove(); 288 * remove(x) removes x and returns true if present 294 assertTrue(q.remove(i)); 300 assertTrue(q.remove(i)); 302 assertFalse(q.remove( [all...] |
H A D | PriorityQueueTest.java | 141 q.remove(); 142 q.remove(); 153 q.remove(); 308 * remove removes next element, or throws NSEE if empty 313 assertEquals(i, q.remove()); 316 q.remove(); 322 * remove(x) removes x and returns true if present 328 assertTrue(q.remove(i)); 334 assertTrue(q.remove(i)); 336 assertFalse(q.remove( [all...] |
/libcore/ojluni/src/main/java/java/time/chrono/ |
H A D | IsoChronology.java | 497 Long pMonth = fieldValues.remove(PROLEPTIC_MONTH); 509 Long yoeLong = fieldValues.remove(YEAR_OF_ERA); 514 Long era = fieldValues.remove(ERA); 544 int y = YEAR.checkValidIntValue(fieldValues.remove(YEAR)); 546 long months = Math.subtractExact(fieldValues.remove(MONTH_OF_YEAR), 1); 547 long days = Math.subtractExact(fieldValues.remove(DAY_OF_MONTH), 1); 550 int moy = MONTH_OF_YEAR.checkValidIntValue(fieldValues.remove(MONTH_OF_YEAR)); 551 int dom = DAY_OF_MONTH.checkValidIntValue(fieldValues.remove(DAY_OF_MONTH));
|
/libcore/ojluni/src/main/java/sun/misc/ |
H A D | Cleaner.java | 87 private static synchronized boolean remove(Cleaner cl) { method in class:Cleaner 139 if (!remove(this))
|
/libcore/ojluni/src/main/java/sun/security/x509/ |
H A D | GeneralSubtrees.java | 90 public void remove(int index) { method in class:GeneralSubtrees 91 trees.remove(index); 192 // remove entry n. If any subsequent entries narrow entry n, remove 211 /* remove narrower name (subsequent) */ 212 remove(j); 217 /* remove narrower name current */ 228 remove(i); 343 // remove it, and whether we add anything to newExcluded or newThis. 355 // thisEntry, remove thisEntr [all...] |
/libcore/ojluni/src/main/java/java/lang/ |
H A D | ProcessEnvironment.java | 245 public String remove(Object key) { method in class:ProcessEnvironment.StringEnvironment 246 return toString(m.remove(Variable.valueOfQueryOnly(key))); 335 public void remove() {i.remove();} 354 public boolean remove(Object o) { return s.remove(vvEntry(o)); } method in class:ProcessEnvironment.StringEntrySet 375 public void remove() {i.remove();} 381 public boolean remove(Object o) { method in class:ProcessEnvironment.StringValues 382 return c.remove(Valu 408 public boolean remove(Object o) { method in class:ProcessEnvironment.StringKeySet [all...] |
/libcore/ojluni/src/main/java/java/net/ |
H A D | InMemoryCookieStore.java | 130 it.remove(); 154 result.remove(null); 166 public boolean remove(URI uri, HttpCookie ck) { method in class:InMemoryCookieStore 180 return cookies.remove(ck); 296 lst.remove(c); 326 it.remove(); 344 // there may already have the same cookie, so remove it first 345 cookies.remove(cookie);
|
/libcore/ojluni/src/main/java/sun/security/util/ |
H A D | Cache.java | 101 public abstract void remove(Object key); method in class:Cache 227 public void remove(Object key) { method in class:NullCache 277 * Empty the reference queue and remove all corresponding entries 299 CacheEntry<K,V> currentEntry = cacheMap.remove(key); 316 * Scan all entries and remove all expired ones. 329 t.remove(); 379 t.remove(); 396 cacheMap.remove(key); 402 public synchronized void remove(Object key) { method in class:MemoryCache 404 CacheEntry<K,V> entry = cacheMap.remove(ke [all...] |
/libcore/luni/src/test/java/libcore/util/ |
H A D | CollectionUtilsTest.java | 47 i.remove(); 53 i.remove(); 54 fail("Expected hasNext() to make remove() impossible."); 58 i.remove();
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/support/ |
H A D | MockResolver.java | 39 entities.remove("[" + publicId + ":" + systemId + "]");
|
/libcore/luni/src/test/java/libcore/java/lang/ |
H A D | OldInheritableThreadLocalTest.java | 49 threadLocal.remove();
|