Searched refs:remove (Results 151 - 175 of 315) sorted by relevance

1234567891011>>

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
H A DTreeSetTest.java228 as.remove(i.next());
243 * java.util.TreeSet#remove(java.lang.Object)
246 // Test for method boolean java.util.TreeSet.remove(java.lang.Object)
247 ts.remove(objArray[0]);
248 assertTrue("Failed to remove object", !ts.contains(objArray[0]));
249 assertTrue("Failed to change size after remove",
252 ts.remove(new Object());
H A DRefSortedMap.java137 public void remove() {
143 RefSortedMap.this.entries.remove(offset);
346 public V remove(Object arg0) { method in class:RefSortedMap
352 return entries.remove(idx).getValue();
/libcore/ojluni/src/main/java/java/security/
H A DProvider.java365 * where {@code name} is the provider name, to see if it's ok to remove this
371 * denies access to remove this provider's properties.
376 public synchronized Object remove(Object key) { method in class:Provider
390 * where {@code name} is the provider name, to see if it's ok to remove this
396 * denies access to remove this provider's properties.
401 public synchronized boolean remove(Object key, Object value) { method in class:Provider
499 * and remove this provider's properties.
504 * denies access to set property values or remove properties.
530 * and remove this provider's properties.
535 * denies access to set property values and remove propertie
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
H A DThreadLocalTest.java33 * java.lang.ThreadLocal#remove()
46 tl.remove();
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ref/
H A DPhantomReferenceTest.java111 Reference r = rq.remove(100L);
H A DReferenceTest.java128 Reference ref = queue.remove();
193 ref = rq.remove(5000L); // Give up after five seconds.
/libcore/luni/src/main/java/java/lang/ref/
H A DFinalizerReference.java67 public static void remove(FinalizerReference<?> reference) { method in class:FinalizerReference
/libcore/luni/src/test/java/libcore/java/util/
H A DCollectionsTest.java99 i.remove();
133 i.remove();
450 // element() and peek() don't remove the first element
516 Collections.unmodifiableMap(new HashMap<>()).remove(1, 5.0);
525 Collections.unmodifiableMap(m).remove(1, 5.0);
947 assertThrowsUoe(() -> { map.remove(absentKey); });
959 assertThrowsUoe(() -> { map.remove(sampleKey); });
1049 assertThrowsCce(() -> { map.remove(new Object()); });
1078 assertEquals(absentValue, map.remove(absentKey)); // restore previous state
1173 assertThrowsUoe(() -> { set.remove(nul
[all...]
H A DOldAbstractMapTest.java105 String result = remove(key);
H A DOldTreeMapTest.java338 tm.remove(new Object()); // succeeds on RI
374 // java.util.TreeMap.remove(java.lang.Object)
375 tm.remove("990");
376 assertTrue("Failed to remove mapping", !tm.containsKey("990"));
379 tm.remove(new Double(3.14));
386 tm.remove(null);
H A DTreeSetTest.java98 assertTrue(deserialized.remove("e"));
/libcore/ojluni/src/main/java/java/time/temporal/
H A DJulianFields.java293 long value = fieldValues.remove(this);
/libcore/ojluni/src/main/java/javax/security/auth/
H A DSubject.java1073 public void remove() {
1094 i.remove();
1140 public boolean remove(Object o) { method in class:Subject.SecureSet
1158 e.remove();
1162 e.remove();
1230 e.remove();
1235 e.remove();
1278 e.remove();
1300 e.remove();
/libcore/ojluni/src/main/java/sun/nio/ch/
H A DMembershipKeyImpl.java201 blockedSet.remove(toUnblock);
H A DPort.java93 fdToChannel.remove(Integer.valueOf(fd));
147 * to remove the channel from the map without interference.
H A DSelectorImpl.java153 i.remove();
/libcore/ojluni/src/main/java/sun/nio/fs/
H A DAbstractWatchKey.java132 // not a modify event so remove from the map as the
134 lastModifyEvents.remove(context);
H A DUnixDirectoryStream.java232 public void remove() { method in class:UnixDirectoryStream.UnixDirectoryIterator
/libcore/ojluni/src/main/java/sun/security/jca/
H A DProviders.java253 threadLists.remove();
/libcore/ojluni/src/main/java/sun/security/util/
H A DAlgorithmDecomposer.java141 elements.remove(find);
/libcore/ojluni/src/main/java/sun/util/locale/
H A DLocaleObjectCache.java93 map.remove(entry.getKey());
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/jar/
H A DAttributesTest.java166 * java.util.jar.Attributes#remove(java.lang.Object)
169 a.remove(new Attributes.Name("1"));
170 a.remove(new Attributes.Name("3"));
/libcore/libart/src/main/java/java/lang/
H A DDaemons.java232 finalizingReference = (FinalizerReference<?>)queue.remove();
246 FinalizerReference.remove(reference);
369 // We assume that only remove() and doFinalize() may take time comparable to
372 // later wakeUp. Any remove() call by the FinalizerDaemon during our sleep
375 // been such a remove() call.
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/
H A DInnerNodeImpl.java126 toInsert.parent.children.remove(oldIndex);
185 children.remove(index);
/libcore/luni/src/test/java/libcore/xml/
H A DXmlPullParserFactoryTest.java104 parserClasses.remove(0);
105 serializerClasses.remove(0);

Completed in 357 milliseconds

1234567891011>>