Searched refs:remove (Results 176 - 200 of 313) sorted by relevance

1234567891011>>

/libcore/ojluni/src/main/java/java/beans/
H A DPropertyChangeSupport.java139 // Call two argument remove method.
143 this.map.remove(null, listener);
228 this.map.remove(propertyName, listener);
/libcore/ojluni/src/main/java/java/time/format/
H A DDateTimeParseContext.java297 parsed.remove(parsed.size() - 2);
299 parsed.remove(parsed.size() - 1);
/libcore/ojluni/src/main/java/java/time/zone/
H A DIcuZoneRulesProvider.java64 // do not. Since they are equivalent to GMT, just remove these aliases.
65 zoneIds.remove("GMT+0");
66 zoneIds.remove("GMT-0");
/libcore/ojluni/src/main/java/java/util/
H A DArrayList.java79 * {@link ListIterator#remove() remove} or
501 public E remove(int index) { method in class:ArrayList
530 public boolean remove(Object o) { method in class:ArrayList
548 * Private remove method that skips bounds checking and does not
871 public void remove() { method in class:ArrayList.Itr
878 ArrayList.this.remove(lastRet);
1071 public E remove(int index) { method in class:ArrayList.SubList
1076 E result = parent.remove(parentOffset + index);
1191 public void remove() {
[all...]
H A DJumboEnumSet.java144 public void remove() { method in class:JumboEnumSet.EnumSetIterator
221 public boolean remove(Object e) { method in class:JumboEnumSet
H A DServiceLoader.java427 public void remove() { method in class:ServiceLoader.LazyIterator
467 * Invoking its {@link java.util.Iterator#remove() remove} method will
497 public void remove() {
H A DTreeSet.java35 * operations ({@code add}, {@code remove} and {@code contains}).
62 * created, in any way except through the iterator's own {@code remove}
275 public boolean remove(Object o) { method in class:TreeSet
276 return m.remove(o)==PRESENT;
/libcore/ojluni/src/main/java/sun/nio/ch/
H A DUtil.java105 // remove first element
162 // one. To avoid the cache growing then we remove the first
244 public boolean remove(Object o) { return s.remove(o); }
/libcore/ojluni/src/main/java/sun/nio/fs/
H A DPollingWatchService.java306 map.remove(fileKey());
402 // remove from map and queue delete event (if enabled)
403 i.remove();
/libcore/ojluni/src/main/java/sun/security/provider/certpath/
H A DPolicyNodeImpl.java258 // remove it from the tree
260 it.remove();
273 mChildren.remove(childNode);
H A DPolicyChecker.java183 unresCritExts.remove(CertificatePolicies_Id.toString());
184 unresCritExts.remove(PolicyMappings_Id.toString());
185 unresCritExts.remove(PolicyConstraints_Id.toString());
186 unresCritExts.remove(InhibitAnyPolicy_Id.toString());
607 initial.remove(node.getValidPolicy());
/libcore/ojluni/src/main/java/sun/util/locale/
H A DInternalLocaleBuilder.java127 uattributes.remove(new CaseInsensitiveString(attribute));
140 // null type is used for remove the key
141 ukeywords.remove(cikey);
174 boolean remove = LocaleUtils.isEmpty(value);
177 if (remove) {
188 extensions.remove(key);
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
H A DTreeMapTest.java460 tm.remove(o);
482 * java.util.TreeMap#remove(java.lang.Object)
486 // java.util.TreeMap.remove(java.lang.Object)
487 tm.remove("990");
488 assertTrue("Failed to remove mapping", !tm.containsKey("990"));
725 values.remove(new Integer(0));
727 "Removing from the values collection should remove from the original map",
755 vals.remove(objArray[300]);
757 "Removing from the values collection should remove from the original map",
771 vals.remove(objArra
[all...]
H A DVectorTest.java864 * java.util.Vector#remove(int)
867 // Test for method java.lang.Object java.util.Vector.remove(int)
869 Object result = tVector.remove(36);
870 assertFalse("Contained element after remove", tVector
874 assertEquals("Failed to decrement size after remove",
878 result = tVector.remove(19);
883 result = tVector.remove(19);
884 assertNotNull("Didn't remove null element", tVector.get(19));
891 tVector.remove(-1);
898 tVector.remove(tVecto
[all...]
H A DWeakHashMapTest.java227 whm.remove(myObject);
242 map.remove("nothing"); // Cause objects in queue to be removed
264 * java.util.WeakHashMap#remove(java.lang.Object)
268 // java.util.WeakHashMap.remove(java.lang.Object)
273 assertTrue("Remove returned incorrect value", whm.remove(keyArray[25]) == valueArray[25]);
274 assertNull("Remove returned incorrect value", whm.remove(keyArray[25]));
275 assertEquals("Size should be 99 after remove", 99, whm.size());
/libcore/json/src/test/java/libcore/org/json/
H A DJSONObjectTest.java111 assertNull(object.remove("foo"));
211 assertEquals(null, object.remove(null));
212 assertEquals(null, object.remove(""));
213 assertEquals(null, object.remove("bar"));
214 assertEquals("bar", object.remove("foo"));
215 assertEquals(null, object.remove("foo"));
937 keys.remove();
/libcore/luni/src/test/java/libcore/java/util/prefs/
H A DOldPreferencesTest.java103 p.remove(null);
595 pref.remove("key");
599 pref.remove("key");
602 pref.remove("key");
605 pref.remove(null);
612 pref.remove("key");
674 // test remove event
686 // test remove event with two listeners
700 // test add/remove indirect children, or remove severa
1086 public void remove(String key) { method in class:OldPreferencesTest.MockPreferences
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/prefs/
H A DAbstractPreferencesTest.java718 pref.remove("key");
722 pref.remove("key");
725 pref.remove("key");
728 pref.remove(null);
735 pref.remove("key");
1050 p.remove("key");
1153 p.remove("key");
1275 p.remove("key");
1344 // after remove node, every methods, except name(), absolutePath(),
1364 pref.remove(nul
[all...]
/libcore/json/src/main/java/org/json/
H A DJSONObject.java260 nameValuePairs.remove(name);
363 public Object remove(String name) { method in class:JSONObject
364 return nameValuePairs.remove(name);
652 * returned iterator supports {@link Iterator#remove() remove}, which will
653 * remove the corresponding mapping from this object. If this object is
663 * is a view of the keys in this object. {@link Set#remove(Object)} will remove
/libcore/jsr166-tests/src/test/java/jsr166/
H A DCopyOnWriteArraySetTest.java160 a.remove(x);
251 * iterator remove is unsupported
258 it.remove();
288 * remove removes an element
292 full.remove(one);
/libcore/ojluni/src/main/java/java/lang/
H A DThreadLocal.java116 * subsequent invocations of {@link #remove} followed by {@link #get}.
219 public void remove() { method in class:ThreadLocal
222 m.remove(this);
490 private void remove(ThreadLocal<?> key) { method in class:ThreadLocal.ThreadLocalMap
548 // to remove or rehash all of the other entries in run.
/libcore/ojluni/src/main/java/java/util/concurrent/locks/
H A DReentrantReadWriteLock.java428 readHolds.remove();
522 readHolds.remove();
651 if (count == 0) readHolds.remove();
/libcore/support/src/test/java/tests/http/
H A DMockWebServer.java202 s.remove();
264 openClientSockets.remove(raw);
284 openClientSockets.remove(socket);
/libcore/dalvik/test-rules/src/main/java/libcore/dalvik/system/
H A DCloseGuardSupport.java172 allocationSites.remove(allocationSite);
/libcore/dom/src/test/java/org/w3c/domts/
H A DJUnitTestCaseAdapter.java264 expectedArray.remove(expectedString);
328 expectedArray.remove(expectedObj);
393 expectedArray.remove(expectedString);
452 expectedArray.remove(expectedObj);

Completed in 1334 milliseconds

1234567891011>>