Searched refs:remove (Results 101 - 125 of 313) sorted by relevance

1234567891011>>

/libcore/ojluni/src/main/java/sun/nio/fs/
H A DAbstractPath.java88 public void remove() {
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/
H A DLoggingTestCase.java65 context.remove(key);
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
H A DCollectionAndMapModifyStreamTest.java100 assertTrue(c.remove(1));
102 assertTrue(c.remove(2));
161 assertTrue(c.remove(first));
164 assertTrue(c.remove(second));
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/
H A DLoggingTestCase.java65 context.remove(key);
/libcore/ojluni/src/main/java/java/util/prefs/
H A DAbstractPreferences.java296 * Implements the <tt>remove(String)</tt> method as per the specification
297 * in {@link Preferences#remove(String)}.
310 public void remove(String key) { method in class:AbstractPreferences
327 * iterates over the array invoking {@link #remove(String)} on each key.
339 remove(keys[i]);
944 throw new UnsupportedOperationException("Can't remove the root!");
947 parent.kidCache.remove(name);
966 // Recursively remove all cached children
971 i.remove();
1053 prefListeners.remove(pc
[all...]
/libcore/jsr166-tests/src/test/java/jsr166/
H A DConcurrentSkipListSetTest.java286 * remove(x) removes x and returns true if present
292 assertTrue(q.remove(i));
298 assertTrue(q.remove(i));
300 assertFalse(q.remove(i + 1));
497 * iterator.remove removes current element
507 it.remove();
567 j.remove();
573 assertTrue(sm.remove(three));
596 j.remove();
601 assertFalse(sm.remove(thre
774 void remove(NavigableSet<Integer> set, int element, BitSet bs) { method in class:ConcurrentSkipListSetTest
[all...]
H A DTreeSetTest.java290 * remove(x) removes x and returns true if present
296 assertTrue(q.remove(i));
302 assertTrue(q.remove(i));
304 assertFalse(q.remove(i + 1));
500 * iterator.remove removes current element
510 it.remove();
570 j.remove();
576 assertTrue(sm.remove(three));
599 j.remove();
604 assertFalse(sm.remove(thre
777 void remove(NavigableSet<Integer> set, int element) { method in class:TreeSetTest
[all...]
H A DConcurrentSkipListMapTest.java421 * remove removes the correct key-value pair from the map
425 map.remove(five);
431 * remove(key,value) removes only if pair present
437 map.remove(five, "E");
440 map.remove(four, "A");
637 map.remove(four);
664 map.remove(two);
776 * remove(null) throws NPE
782 c.remove(null);
788 * remove(nul
1079 void remove(NavigableMap<Integer, Integer> map, int key) { method in class:ConcurrentSkipListMapTest
[all...]
H A DConcurrentSkipListSubSetTest.java244 * remove(x) removes x and returns true if present
250 assertTrue(q.remove(i));
256 assertTrue(q.remove(i));
258 assertFalse(q.remove(i + 1));
454 * iterator.remove removes current element
464 it.remove();
524 j.remove();
530 assertTrue(sm.remove(three));
553 j.remove();
558 assertFalse(sm.remove(thre
[all...]
H A DTreeSubSetTest.java241 * remove(x) removes x and returns true if present
247 assertTrue(q.remove(i));
253 assertTrue(q.remove(i));
255 assertFalse(q.remove(i + 1));
451 * iterator.remove removes current element
461 it.remove();
521 j.remove();
527 assertTrue(sm.remove(three));
550 j.remove();
555 assertFalse(sm.remove(thre
[all...]
H A DConcurrentSkipListSubMapTest.java333 * remove removes the correct key-value pair from the map
337 map.remove(five);
343 * remove(key,value) removes only if pair present
349 map.remove(five, "E");
352 map.remove(four, "A");
445 map.remove(four);
472 map.remove(two);
584 * remove(null) throws NPE
589 c.remove(null);
595 * remove(nul
[all...]
H A DTreeSubMapTest.java235 * remove removes the correct key-value pair from the map
239 map.remove(five);
332 map.remove(four);
362 map.remove(two);
430 * remove(null) throws NPE
435 c.remove(null);
477 j.remove();
483 assertEquals("C", sm.remove(three));
506 j.remove();
511 assertSame(sm.remove(thre
[all...]
/libcore/support/src/test/java/libcore/java/security/
H A DStandardNames.java122 assertTrue(algorithm, algorithms.remove(algorithm.toUpperCase(Locale.ROOT)));
124 assertNotNull(PROVIDER_ALGORITHMS.remove(type));
397 PROVIDER_ALGORITHMS.remove("Configuration");
398 PROVIDER_ALGORITHMS.remove("GssApiMechanism");
399 PROVIDER_ALGORITHMS.remove("KeyInfoFactory");
400 PROVIDER_ALGORITHMS.remove("Policy");
401 PROVIDER_ALGORITHMS.remove("SaslClientFactory");
402 PROVIDER_ALGORITHMS.remove("SaslServerFactory");
403 PROVIDER_ALGORITHMS.remove("TerminalFactory");
404 PROVIDER_ALGORITHMS.remove("TransformServic
[all...]
/libcore/luni/src/test/java/libcore/java/util/
H A DMapDefaultMethodTester.java167 m.remove(1);
172 m.remove(1);
195 assertFalse(m.remove(1, 1.0));
199 assertFalse(m.remove(1, 2.0));
203 assertTrue(m.remove(1, 1.0));
209 assertTrue(m.remove(1, null));
215 assertTrue(m.remove(null, 1.0));
219 m.remove(null, 1.0);
446 m.remove("key2");
/libcore/ojluni/src/main/java/sun/security/provider/certpath/
H A DForwardBuilder.java734 * support forward checking (forwardCheckers) and remove
761 * Look at the remaining extensions and remove any ones we know how
765 unresCritExts.remove(BasicConstraints_Id.toString());
766 unresCritExts.remove(NameConstraints_Id.toString());
767 unresCritExts.remove(CertificatePolicies_Id.toString());
768 unresCritExts.remove(PolicyMappings_Id.toString());
769 unresCritExts.remove(PolicyConstraints_Id.toString());
770 unresCritExts.remove(InhibitAnyPolicy_Id.toString());
771 unresCritExts.remove(SubjectAlternativeName_Id.toString());
772 unresCritExts.remove(KeyUsage_I
[all...]
H A DConstraintsChecker.java126 unresCritExts.remove(BasicConstraints_Id.toString());
127 unresCritExts.remove(NameConstraints_Id.toString());
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
H A DLinkedListTest.java357 assertEquals("Peek remove the head (first element) of this list", ll.getFirst(), objArray[0]);
497 * java.util.LinkedList#remove(int)
500 // Test for method java.lang.Object java.util.LinkedList.remove(int)
501 ll.remove(10);
502 assertEquals("Failed to remove element", -1, ll.indexOf(objArray[10]));
504 ll.remove(999);
511 ll.remove(20);
516 * java.util.LinkedList#remove(java.lang.Object)
519 // Test for method boolean java.util.LinkedList.remove(java.lang.Object)
520 assertTrue("Failed to remove vali
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/prefs/
H A DMockAbstractPreferences.java173 ((MockAbstractPreferences) p).childs.remove(name());
191 attr.remove(key);
/libcore/luni/src/test/java/tests/java/sql/
H A DSelectFunctionalityTest.java253 value.remove(key);
291 value.remove(key);
319 value.remove(key);
349 value.remove(key);
383 value.remove(key);
411 assertEquals(new Integer(sum), values.remove(rating));
468 assertTrue("wrong value in the result set", values.remove(rating));
538 assertTrue("wrong value in the result set", values.remove(max));
/libcore/ojluni/src/main/java/java/util/
H A DEnumMap.java50 * presence of a null key or to remove one will, however, function properly.
286 public V remove(Object key) { method in class:EnumMap
400 public boolean remove(Object o) { method in class:EnumMap.KeySet
402 EnumMap.this.remove(o);
439 public boolean remove(Object o) { method in class:EnumMap.Values
484 public boolean remove(Object o) { method in class:EnumMap.EntrySet
532 public void remove() { method in class:EnumMap.EnumMapIterator
576 public void remove() { method in class:EnumMap.EntryIterator
579 super.remove();
H A DRegularEnumSet.java108 public void remove() { method in class:RegularEnumSet.EnumSetIterator
174 public boolean remove(Object e) { method in class:RegularEnumSet
/libcore/ojluni/src/main/java/java/util/concurrent/
H A DThreadPoolExecutor.java275 * {@link #remove(Runnable)} and {@link #purge} are available to
873 * queue for which poll or drainTo may fail to remove some
882 if (q.remove(r))
998 workers.remove(w);
1027 workers.remove(w);
1388 if (! isRunning(recheck) && remove(command))
1773 * scheme. It may fail to remove tasks that have been converted
1778 * remove those Futures that have been cancelled.
1780 * @param task the task to remove
1783 public boolean remove(Runnabl method in class:ThreadPoolExecutor
[all...]
/libcore/ojluni/src/main/java/sun/net/
H A DProgressMonitor.java145 // Close entry and remove from map
147 progressSourceList.remove(pi);
218 progressListenerList.remove(l);
/libcore/ojluni/src/main/java/sun/nio/ch/
H A DAbstractPollSelectorImpl.java189 keys.remove(ski);
190 selectedKeys.remove(ski);
/libcore/benchmarks/src/benchmarks/regression/
H A DPriorityQueueBenchmark.java81 dummy = usepq.remove(seekElements.get(i % elementsSize));

Completed in 742 milliseconds

1234567891011>>