/libcore/ojluni/src/main/java/java/util/ |
H A D | Collection.java | 286 * @param o element to be removed from this collection, if present 287 * @return <tt>true</tt> if an element was removed as a result of this call 354 * @param c collection containing elements to be removed from this collection 381 * its {@link #iterator}. Each matching element is removed using 387 * removed 388 * @return {@code true} if any elements were removed 390 * @throws UnsupportedOperationException if elements cannot be removed 392 * matching element cannot be removed or if, in general, removal is not 398 boolean removed = false; 403 removed [all...] |
/libcore/ojluni/src/main/java/java/util/prefs/ |
H A D | AbstractPreferences.java | 163 * been removed. Once it's set to true, it will never be reset to false. 165 private boolean removed = false; field in class:AbstractPreferences 226 * has not been removed, invokes {@link #putSpi(String,String)}, and if 237 * removed with the {@link #removeNode()} method. 248 if (removed) 249 throw new IllegalStateException("Node has been removed."); 263 * checks that the node has not been removed, invokes {@link 274 * removed with the {@link #removeNode()} method. 282 if (removed) 283 throw new IllegalStateException("Node has been removed [all...] |
/libcore/luni/src/test/java/libcore/java/util/prefs/ |
H A D | OldNodeChangeEventTest.java | 147 private int removed = 0; field in class:OldNodeChangeEventTest.MockNodeChangeListener 164 removed++; 181 return removed; 186 removed = 0;
|
H A D | OldPreferencesTest.java | 660 // same listener can be added twice, and must be removed twice 775 // same listener can be added twice, and must be removed twice 882 private int removed = 0; field in class:OldPreferencesTest.MockNodeChangeListener 909 ++removed; 919 return removed; 925 removed = 0;
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
H A D | AbstractCollectionTest.java | 137 final String[] removed = new String[3]; 155 removed[index - 1] = values[index - 1]; 169 for (String r : removed) { 171 fail("an unexpected element was removed"); 180 final String[] removed = new String[1]; 198 removed[index - 1] = values[index - 1]; 212 assertEquals("0", removed[0]); 251 fail("an unexpected element was removed");
|
/libcore/dalvik/src/main/java/dalvik/system/profiler/ |
H A D | SamplingProfiler.java | 111 * threads disappear they are removed and only referenced by their 425 // removed = old-new 426 Set<Thread> removed = new HashSet<Thread>(o); 427 removed.removeAll(n); 438 for (Thread thread : removed) {
|
/libcore/luni/src/main/java/java/util/concurrent/ |
H A D | CopyOnWriteArrayList.java | 348 E removed = (E) elements[index]; 350 return removed; 415 * of elements removed. 424 * We've encountered an element that must be removed! Create a new 446 int removed = elements.length - newElements.length; 448 return removed; 612 E removed = CopyOnWriteArrayList.this.remove(slice.from + index); 614 return removed; 683 int removed = removeOrRetain(collection, false, slice.from, slice.to); 684 slice = new Slice(elements, slice.from, slice.to - removed); [all...] |
H A D | ConcurrentLinkedQueue.java | 21 // removed link to collections framework docs 135 * to be successfully removed by two concurrent operations. The 318 // for item to be removed from this queue. 395 * Additionally, if elements are added or removed during execution 443 * @param o element to be removed from this queue, if present 450 boolean removed = false; 457 removed = casItem(p, item, null); 463 if (removed) 669 * being removed when hasNext() was called.
|
H A D | ThreadPoolExecutor.java | 20 // removed security manager docs 1390 * that were awaiting execution. These tasks are drained (removed) 1747 * @return {@code true} if the task was removed 1750 boolean removed = workQueue.remove(task); 1752 return removed;
|
H A D | ConcurrentSkipListMap.java | 33 // removed link to collections framework docs 970 * topmost three levels look empty. Also, if the removed level 1553 * @param key key for which mapping should be removed 2441 boolean removed = false; 2446 removed = true; 2448 return removed; 2515 boolean removed = false; 2519 removed = true; 2521 return removed; 3228 boolean removed [all...] |
H A D | ForkJoinPool.java | 136 //@jdk.internal.vm.annotation.Contended // android-removed 559 * Spare threads are removed as soon as they notice that the 697 * of local joins if they are removed from an interior queue slot 755 //@jdk.internal.vm.annotation.Contended // android-removed 794 // @jdk.internal.vm.annotation.Contended("group2") // segregate // android-removed 1175 boolean removed = false; 1179 removed = true; 1183 removed = U.compareAndSwapObject(a, offset, t, 1185 if (removed) {
|
H A D | ConcurrentHashMap.java | 44 // removed link to collections framework docs 85 * variance around this average as mappings are added and removed, but 1072 * @param key the key that needs to be removed 1614 boolean removed = false; 1622 removed = true; 1625 return removed; 1634 boolean removed = false; 1641 removed = true; 1644 return removed; 2536 //@jdk.internal.vm.annotation.Contended // android-removed [all...] |
/libcore/ojluni/src/main/java/java/lang/ |
H A D | ThreadLocal.java | 258 * used, stale entries are guaranteed to be removed only when 609 * @return true if any stale entries have been removed. 612 boolean removed = false; 620 removed = true; 624 return removed;
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/prefs/ |
H A D | AbstractPreferencesTest.java | 1654 private int removed = 0; field in class:AbstractPreferencesTest.MockNodeChangeListener 1666 removed++; 1696 return removed; 1702 removed = 0;
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
H A D | ConcurrentHashMap8Test.java | 441 Object removed = it.next(); 445 assertFalse(it.next().equals(removed)); 446 assertFalse(it.next().equals(removed));
|
/libcore/support/src/test/java/libcore/java/security/ |
H A D | StandardNames.java | 517 // removed LDAP 520 // removed MD2 524 // removed RC2 1067 boolean removed = remainingCipherSuites.remove(cipherSuite); 1068 if (!removed) {
|