Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for removeList (0.41 sec)

  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;
        }
    
        /**
         * インデックスで指定された位置のエントリを削除します。
         *
         * @param index
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 20.6K bytes
    - Viewed (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() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 06 17:23:04 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ForwardingDeque.java

        delegate().push(e);
      }
    
      @CanIgnoreReturnValue
      @Override
      @ParametricNullness
      public E removeFirst() {
        return delegate().removeFirst();
      }
    
      @CanIgnoreReturnValue
      @Override
      @ParametricNullness
      public E removeLast() {
        return delegate().removeLast();
      }
    
      @CanIgnoreReturnValue
      @Override
      public boolean removeFirstOccurrence(@CheckForNull Object o) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 13 14:30:51 UTC 2023
    - 4.2K bytes
    - Viewed (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"));
        }
    
        /**
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/HtmlToXmlJavadocLexer.java

                if (elementStack.contains(element)) {
                    while (!elementStack.getFirst().equals(element)) {
                        visitor.onEndHtmlElement(elementStack.removeFirst());
                    }
                    elementStack.removeFirst();
                    visitor.onEndHtmlElement(element);
                }
            }
    
            private void unwindTo(Collection<String> ancestors, TokenVisitor visitor) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 5.8K bytes
    - Viewed (0)
  6. okhttp-testing-support/src/main/kotlin/okhttp3/RecordingCookieJar.kt

      fun enqueueRequestCookies(vararg cookies: Cookie) {
        requestCookies.add(cookies.toList())
      }
    
      fun takeResponseCookies(): List<Cookie> {
        return responseCookies.removeFirst()
      }
    
      fun assertResponseCookies(vararg cookies: String?) {
        assertThat(takeResponseCookies().map(Cookie::toString)).containsExactly(*cookies)
      }
    
      override fun saveFromResponse(
        url: HttpUrl,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/DocBookBuilder.java

            }
        }
    
        public void push(Element element) {
            stack.getFirst().appendChild(element);
            stack.addFirst(element);
        }
    
        public Element pop() {
            Element element = stack.removeFirst();
            if (emptyPara(element)) {
                element.getParentNode().removeChild(element);
            }
            return element;
        }
    
        private boolean emptyPara(Element element) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/collection/SLinkedList.java

         *
         * @return 最初の要素
         */
        public E removeFirst() {
            if (isEmpty()) {
                throw new NoSuchElementException();
            }
            final E first = header.next.element;
            header.next.remove();
            return first;
        }
    
        /**
         * 最後の要素を削除します。
         *
         * @return 最後の要素
         */
        public E removeLast() {
            if (isEmpty()) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 11K bytes
    - Viewed (0)
  9. 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
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/DefaultGenerationListener.java

        }
    
        @Override
        public void start(String context) {
            contextStack.addFirst(context);
        }
    
        @Override
        public void finish() {
            contextStack.removeFirst();
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 1.3K bytes
    - Viewed (0)
Back to top