Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for addFirst (0.09 sec)

  1. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/DocBookBuilder.java

    class DocBookBuilder {
        final LinkedList<Element> stack = new LinkedList<Element>();
        final Document document;
    
        DocBookBuilder(Document document) {
            this.document = document;
            stack.addFirst(document.createElement("root"));
        }
    
        List<Element> getElements() {
            List<Element> elements = new ArrayList<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)
  2. src/test/java/org/codelibs/core/collection/SLinkedListTest.java

            assertThat(list.getLast(), is("1"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testAddFirst() throws Exception {
            list.addFirst("1");
            list.addFirst("2");
            assertThat(list.getFirst(), is("2"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testAddLast() throws Exception {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ForwardingDeque.java

      /** Constructor for use by subclasses. */
      protected ForwardingDeque() {}
    
      @Override
      protected abstract Deque<E> delegate();
    
      @Override
      public void addFirst(@ParametricNullness E e) {
        delegate().addFirst(e);
      }
    
      @Override
      public void addLast(@ParametricNullness E e) {
        delegate().addLast(e);
      }
    
      @Override
      public Iterator<E> descendingIterator() {
    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. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/HtmlToXmlJavadocLexer.java

                } else if (!blockContent.contains(name) && !(name.equals("a") && attributes.containsKey("name"))) {
                    onInlineContent();
                }
    
                elementStack.addFirst(name);
                visitor.onStartHtmlElement(name);
                for (Map.Entry<String, String> entry : attributes.entrySet()) {
                    visitor.onHtmlElementAttribute(entry.getKey(), entry.getValue());
                }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 5.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/SynchronizedDequeTest.java

        public <T> T[] toArray(T[] array) {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.toArray(array);
        }
    
        @Override
        public void addFirst(E e) {
          assertTrue(Thread.holdsLock(mutex));
          delegate.addFirst(e);
        }
    
        @Override
        public void addLast(E e) {
          assertTrue(Thread.holdsLock(mutex));
          delegate.addLast(e);
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 06 17:23:04 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/misc/DisposableUtil.java

         * </p>
         *
         * @param disposable
         *            破棄可能なリソース。{@literal null}であってはいけません
         */
        public static synchronized void addFirst(final Disposable disposable) {
            assertArgumentNotNull("disposable", disposable);
            disposables.addFirst(disposable);
        }
    
        /**
         * 破棄可能なリソースを登録解除します。
         *
         * @param disposable
         *            破棄可能なリソース。{@literal null}であってはいけません
         */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/AssembleDslDocTask.groovy

            } else {
                return
            }
    
            typeTable['@role'] = 'dslTypes'
        }
    
        def mergeBlocks(Element blocksTable, DslDocModel model) {
            blocksTable.addFirst {
                thead {
                    tr {
                        td('Block')
                        td('Description')
                    }
                }
            }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 9.8K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/misc/DisposableUtilTest.java

        }
    
        /**
         * @throws Exception
         */
        @Test
        public void test4() throws Exception {
            DisposableUtil.add(new TestDisposable("a"));
            DisposableUtil.addFirst(new TestDisposable("b"));
            assertThat(DisposableUtil.disposables.size(), is(2));
            DisposableUtil.dispose();
            assertThat(count, is(2));
            assertThat(names, is("ab"));
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/DefaultGenerationListener.java

        @Override
        public void warning(String message) {
            LOGGER.warn(String.format("%s: %s", contextStack.getFirst(), message));
        }
    
        @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)
  10. okhttp/src/main/kotlin/okhttp3/internal/connection/SequentialExchangeFinder.kt

                }
    
              val (_, nextPlan, failure) = connectResult
    
              if (failure != null) throw failure
              if (nextPlan != null) {
                routePlanner.deferredPlans.addFirst(nextPlan)
                continue
              }
            }
            return plan.handleSuccess()
          } catch (e: IOException) {
            if (firstException == null) {
              firstException = e
            } else {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top