Searched refs:remove (Results 1 - 25 of 307) sorted by relevance

1234567891011>>

/libcore/ojluni/src/main/java/java/util/
H A DQueue.java67 * <td>{@link Queue#remove remove()}</td>
83 * element which would be removed by a call to {@link #remove() } or
97 * <p>The {@link #remove()} and {@link #poll()} methods remove and
101 * implementation to implementation. The {@code remove()} and
103 * queue is empty: the {@code remove()} method throws an exception,
107 * not remove, the head of the queue.
181 E remove(); method in interface:Queue
192 * Retrieves, but does not remove, th
[all...]
H A DDictionary.java154 abstract public V remove(Object key); method in class:Dictionary
H A DIterator.java36 * <li> Iterators allow the caller to remove elements from the
84 * @throws UnsupportedOperationException if the {@code remove}
88 * yet been called, or the {@code remove} method has already
92 default void remove() { method in interface:Iterator
93 throw new UnsupportedOperationException("remove");
H A DListIterator.java43 * Note that the {@link #remove} and {@link #set(Object)} methods are
143 * @throws UnsupportedOperationException if the {@code remove}
146 * {@code previous} have been called, or {@code remove} or
150 void remove(); method in interface:ListIterator
155 * This call can be made only if neither {@link #remove} nor {@link
168 * {@code previous} have been called, or {@code remove} or
H A DAbstractSet.java144 * from this set with the iterator's <tt>remove</tt> method. If
148 * set's <tt>remove</tt> method.
152 * <tt>iterator</tt> method does not implement the <tt>remove</tt> method.
165 * @see #remove(Object)
173 modified |= remove(i.next());
177 i.remove();
H A DDeque.java50 * ends of the deque. Methods are provided to insert, remove, and
120 * <td>{@link java.util.Queue#remove remove()}</td>
167 * <p>This interface provides two methods to remove interior
306 * Retrieves, but does not remove, the first element of this deque.
317 * Retrieves, but does not remove, the last element of this deque.
327 * Retrieves, but does not remove, the first element of this deque,
335 * Retrieves, but does not remove, the last element of this deque,
440 E remove(); method in interface:Deque
455 * Retrieves, but does not remove, th
536 boolean remove(Object o); method in interface:Deque
[all...]
H A DAbstractCollection.java40 * <tt>iterator</tt> method must additionally implement its <tt>remove</tt>
268 * from the collection using the iterator's remove method.
272 * collection's iterator method does not implement the <tt>remove</tt>
279 public boolean remove(Object o) { method in class:AbstractCollection
284 it.remove();
291 it.remove();
353 * this collection with the iterator's <tt>remove</tt> method.
357 * <tt>iterator</tt> method does not implement the <tt>remove</tt> method
365 * @see #remove(Object)
373 it.remove();
[all...]
/libcore/ojluni/src/main/java/java/net/
H A DCookieStore.java112 * @param cookie the cookie to remove
118 public boolean remove(URI uri, HttpCookie cookie); method in interface:CookieStore
/libcore/ojluni/src/main/java/sun/net/www/protocol/http/
H A DAuthCache.java66 * remove the entry from the cache whose pkey is specified and
70 public void remove (String pkey, AuthCacheValue entry); method in interface:AuthCache
H A DAuthCacheImpl.java66 iter.remove ();
95 public synchronized void remove (String pkey, AuthCacheValue entry) { method in class:AuthCacheImpl
108 iter.remove ();
/libcore/luni/src/test/java/libcore/java/util/
H A DOldAndroidArrayListTest.java56 array.remove(1);
57 array.remove(1);
81 assertFalse(al.remove(null));
82 assertFalse(al.remove("string"));
87 assertTrue(al.remove(null));
88 assertTrue(al.remove("string"));
H A DOldPriorityQueueTest.java49 // Even though "BB" is equivalent to "AA" using the string length comparator, remove()
51 assertFalse(queue.remove("BB"));
52 assertTrue(queue.remove("AA"));
59 assertFalse(integerQueue.remove(111));
60 assertFalse(integerQueue.remove(null));
61 assertFalse(integerQueue.remove(""));
116 q.remove(4); // 2 replaces 4 but parent is 3, siftUp(.) is needed
H A DOldListIteratorTest.java88 public void remove() { method in class:OldListIteratorTest.Mock_ListIterator
101 l.remove();
108 l.remove();
113 l.remove();
121 ml.remove();
186 l.remove();
/libcore/ojluni/src/main/java/sun/security/validator/
H A DEndEntityChecker.java176 exts.remove(SimpleValidator.OID_BASIC_CONSTRAINTS);
182 exts.remove(OID_SUBJECT_ALT_NAME);
244 // remove extensions we checked
245 exts.remove(SimpleValidator.OID_KEY_USAGE);
246 exts.remove(SimpleValidator.OID_EXTENDED_KEY_USAGE);
247 exts.remove(SimpleValidator.OID_NETSCAPE_CERT_TYPE);
302 // remove extensions we checked
303 exts.remove(SimpleValidator.OID_KEY_USAGE);
304 exts.remove(SimpleValidator.OID_EXTENDED_KEY_USAGE);
305 exts.remove(SimpleValidato
[all...]
/libcore/ojluni/src/main/java/java/lang/
H A DApplicationShutdownHooks.java80 static synchronized boolean remove(Thread hook) { method in class:ApplicationShutdownHooks
87 return hooks.remove(hook) != null;
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/
H A DStreamOpFlagTestHelper.java36 allStreamFlags.remove(f);
/libcore/ojluni/src/main/java/sun/misc/
H A DVM.java106 * here so it can be easily resurrected -- just remove the //
251 // Save a private copy of the system properties and remove
266 String s = (String)props.remove("sun.nio.MaxDirectMemorySize");
279 s = (String)props.remove("sun.nio.PageAlignDirectMemory");
302 props.remove("java.lang.Integer.IntegerCache.high");
305 props.remove("sun.zip.disableMemoryMapping");
308 props.remove("sun.java.launcher.diag");
/libcore/luni/src/test/java/libcore/java/lang/ref/
H A DReferenceQueueTest.java33 referenceQueue.remove(-1);
42 referenceQueue.remove(Long.MAX_VALUE);
57 referenceQueue.remove(1000);
66 assertNotNull(referenceQueue.remove());
72 assertNotNull(referenceQueue.remove(1000));
79 referenceQueue.remove();
89 referenceQueue.remove(1000);
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ref/
H A DReferenceQueueTest.java105 * java.lang.ref.ReferenceQueue#remove()
115 assertTrue("Remove failed.", ((Boolean) rq.remove().get())
128 rq.remove();
152 * java.lang.ref.ReferenceQueue#remove(long)
157 assertNull("Queue should be empty. (remove(1))",
158 rq.remove((long) 1));
161 Reference ret = rq.remove(0L);
162 assertNotNull("Delayed remove failed.", ret);
182 Reference result = rq.remove(1L);
184 result = rq.remove(
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
H A DEnumMapTest.java297 enumSizeMap.remove(Size.Small);
369 .remove(mockEntry));
373 .remove(mockEntry));
376 .remove(mockEntry));
378 .remove(new Integer(1)));
386 enumSizeMap.remove(Size.Big);
449 .remove(integer));
451 .remove(entry));
470 enumSizeMap.remove(Size.Big);
479 iter.remove();
[all...]
H A DListResourceBundleTest.java66 assertTrue(result.remove(null));
67 assertTrue(result.remove(null));
68 assertTrue(result.remove(null));
H A DAbstractListTest.java48 public Object remove(int i) { method in class:AbstractListTest.SimpleList
49 return this.arrayList.remove(i);
86 it.remove();
146 sList.remove(0);
152 lit.remove();
201 emptySubList.remove(0);
202 fail("emptySubList.remove(0) should throw IndexOutOfBoundsException");
216 public E remove(int idx) { method in class:AbstractListTest.MockArrayList
218 return list.remove(idx);
259 it.remove();
386 public E remove(int idx) { method in class:AbstractListTest.MockRemoveFailureArrayList
[all...]
/libcore/luni/src/main/java/libcore/util/
H A DCollectionUtils.java33 * @param trim true to remove reference objects from the iterable after
50 delegate.remove();
70 public void remove() {
74 delegate.remove();
/libcore/luni/src/main/java/org/xml/sax/helpers/
H A DAttributeListImpl.java164 names.remove(i);
165 types.remove(i);
166 values.remove(i);
/libcore/ojluni/src/main/java/sun/security/provider/certpath/
H A DKeyChecker.java125 // remove the extensions that we have checked
127 unresCritExts.remove(KeyUsage_Id.toString());
128 unresCritExts.remove(ExtendedKeyUsage_Id.toString());
129 unresCritExts.remove(SubjectAlternativeName_Id.toString());

Completed in 2862 milliseconds

1234567891011>>