Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 23 for removeList (0.05 seconds)

  1. src/main/java/org/codelibs/core/collection/ArrayMap.java

        }
    
        @Override
        public V remove(final Object key) {
            final Entry<K, V> e = removeMap(key);
            if (e != null) {
                final V value = e.value;
                removeList(entryIndexOf(e));
                e.clear();
                return value;
            }
            return null;
        }
    
        /**
         * Removes the entry at the specified index.
         *
         * @param index
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 20.1K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/collect/SynchronizedDequeTest.java

          return delegate.offerLast(e);
        }
    
        @Override
        public E removeFirst() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.removeFirst();
        }
    
        @Override
        public E removeLast() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.removeLast();
        }
    
        @Override
        public @Nullable E pollFirst() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jul 16 17:42:14 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/collect/SynchronizedDequeTest.java

          return delegate.offerLast(e);
        }
    
        @Override
        public E removeFirst() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.removeFirst();
        }
    
        @Override
        public E removeLast() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.removeLast();
        }
    
        @Override
        public @Nullable E pollFirst() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jul 16 17:42:14 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/core/collection/SLinkedListTest.java

            list.addLast("1");
            list.addLast("2");
            list.removeFirst();
            assertThat(list.getFirst(), is("2"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testRemoveLast() throws Exception {
            list.addLast("1");
            list.addLast("2");
            list.removeLast();
            assertThat(list.getLast(), is("1"));
        }
    
        /**
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

     * defined as the <i>least</i> element in the queue according to the queue's comparator. But unlike
     * a regular priority queue, the methods {@link #peekLast}, {@link #pollLast} and {@link
     * #removeLast} are also provided, to act on the <i>greatest</i> element in the queue instead.
     *
     * <p>A min-max priority queue can be configured with a maximum size. If so, each time the size of
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 13:11:08 GMT 2026
    - 34K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/core/collection/SLinkedList.java

         */
        public E removeFirst() {
            if (isEmpty()) {
                throw new NoSuchElementException();
            }
            final E first = header.next.element;
            header.next.remove();
            return first;
        }
    
        /**
         * Removes the last element.
         *
         * @return the last element
         */
        public E removeLast() {
            if (isEmpty()) {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jun 19 09:12:22 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/MinMaxPriorityQueue.java

     * defined as the <i>least</i> element in the queue according to the queue's comparator. But unlike
     * a regular priority queue, the methods {@link #peekLast}, {@link #pollLast} and {@link
     * #removeLast} are also provided, to act on the <i>greatest</i> element in the queue instead.
     *
     * <p>A min-max priority queue can be configured with a maximum size. If so, each time the size of
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 13:11:08 GMT 2026
    - 34K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/TreeTraverser.java

        }
    
        @Override
        public T next() {
          Iterator<T> itr = stack.getLast(); // throws NSEE if empty
          T result = checkNotNull(itr.next());
          if (!itr.hasNext()) {
            stack.removeLast();
          }
          Iterator<T> childItr = children(result).iterator();
          if (childItr.hasNext()) {
            stack.addLast(childItr);
          }
          return result;
        }
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 18:39:06 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/core/misc/DisposableUtil.java

        }
    
        /**
         * Disposes of all registered resources.
         */
        public static synchronized void dispose() {
            while (!disposables.isEmpty()) {
                final Disposable disposable = disposables.removeLast();
                try {
                    disposable.dispose();
                } catch (final Throwable t) {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Feb 12 12:10:45 GMT 2026
    - 3.1K bytes
    - Click Count (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocConverter.java

            }
    
            @Override
            void onEndHtmlElement(String name) {
                if (!tagStack.isEmpty() && tagStack.getFirst().equals(name)) {
                    tagStack.removeFirst();
                    handlerStack.removeFirst().onEndElement(name);
                }
            }
    
            @Override
            void onStartJavadocTag(String name) {
                tagValue = new StringBuilder();
            }
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed May 21 06:20:45 GMT 2025
    - 29.3K bytes
    - Click Count (0)
Back to Top