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

1234567891011>>

/libcore/ojluni/src/main/java/java/util/
H A DQueue.java68 * <td>{@link Queue#remove remove()}</td>
84 * element which would be removed by a call to {@link #remove() } or
98 * <p>The {@link #remove()} and {@link #poll()} methods remove and
102 * implementation to implementation. The {@code remove()} and
104 * queue is empty: the {@code remove()} method throws an exception,
108 * not remove, the head of the queue.
182 E remove(); method in interface:Queue
193 * 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)
174 modified |= remove(i.next());
178 i.remove();
H A DDeque.java48 * ends of the deque. Methods are provided to insert, remove, and
118 * <td>{@link java.util.Queue#remove remove()}</td>
165 * <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>
270 * from the collection using the iterator's remove method.
274 * collection's iterator method does not implement the <tt>remove</tt>
281 public boolean remove(Object o) { method in class:AbstractCollection
286 it.remove();
293 it.remove();
355 * this collection with the iterator's <tt>remove</tt> method.
359 * <tt>iterator</tt> method does not implement the <tt>remove</tt> method
367 * @see #remove(Object)
376 it.remove();
[all...]
/libcore/ojluni/src/main/java/java/net/
H A DCookieStore.java114 * @param cookie the cookie to remove
120 public boolean remove(URI uri, HttpCookie cookie); method in interface:CookieStore
/libcore/ojluni/src/main/java/java/time/chrono/
H A DAbstractChronology.java456 return dateEpochDay(fieldValues.remove(EPOCH_DAY));
499 Long pMonth = fieldValues.remove(PROLEPTIC_MONTH);
514 Long yoeLong = fieldValues.remove(YEAR_OF_ERA);
516 Long eraLong = fieldValues.remove(ERA);
552 int y = range(YEAR).checkValidIntValue(fieldValues.remove(YEAR), YEAR);
554 long months = Math.subtractExact(fieldValues.remove(MONTH_OF_YEAR), 1);
555 long days = Math.subtractExact(fieldValues.remove(DAY_OF_MONTH), 1);
558 int moy = range(MONTH_OF_YEAR).checkValidIntValue(fieldValues.remove(MONTH_OF_YEAR), MONTH_OF_YEAR);
560 int dom = domRange.checkValidIntValue(fieldValues.remove(DAY_OF_MONTH), DAY_OF_MONTH);
572 int y = range(YEAR).checkValidIntValue(fieldValues.remove(YEA
[all...]
/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"));
60 assertFalse(integerQueue.remove(111));
61 assertFalse(integerQueue.remove(null));
62 assertFalse(integerQueue.remove(""));
117 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/misc/
H A DVM.java112 * here so it can be easily resurrected -- just remove the //
271 // Save a private copy of the system properties and remove
286 String s = (String)props.remove("sun.nio.MaxDirectMemorySize");
299 s = (String)props.remove("sun.nio.PageAlignDirectMemory");
313 props.remove("java.lang.Integer.IntegerCache.high");
316 props.remove("sun.zip.disableMemoryMapping");
319 props.remove("sun.java.launcher.diag");
322 props.remove("sun.cds.enableSharedLookupCache");
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/
H A DStreamOpFlagTestHelper.java36 allStreamFlags.remove(f);
/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/ojluni/src/main/java/java/time/format/
H A DParsed.java343 Instant instant = Instant.ofEpochSecond(fieldValues.remove(INSTANT_SECONDS));
372 long ch = fieldValues.remove(CLOCK_HOUR_OF_DAY);
380 long ch = fieldValues.remove(CLOCK_HOUR_OF_AMPM);
387 long ap = fieldValues.remove(AMPM_OF_DAY);
388 long hap = fieldValues.remove(HOUR_OF_AMPM);
398 long nod = fieldValues.remove(NANO_OF_DAY);
408 long cod = fieldValues.remove(MICRO_OF_DAY);
416 long lod = fieldValues.remove(MILLI_OF_DAY);
424 long sod = fieldValues.remove(SECOND_OF_DAY);
433 long mod = fieldValues.remove(MINUTE_OF_DA
[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/nio/ch/
H A DMembershipRegistry.java102 void remove(MembershipKeyImpl key) { method in class:MembershipRegistry
109 i.remove();
114 groups.remove(group);
/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());
/libcore/luni/src/main/java/libcore/net/event/
H A DNetworkEventDispatcher.java61 listeners.remove(listener);

Completed in 1937 milliseconds

1234567891011>>