Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 23 for addFirst (0.06 sec)

  1. guava-testlib/src/com/google/common/testing/TearDownStack.java

      }
    
      public TearDownStack(boolean suppressThrows) {
        this.suppressThrows = suppressThrows;
      }
    
      @Override
      public final void addTearDown(TearDown tearDown) {
        synchronized (lock) {
          stack.addFirst(checkNotNull(tearDown));
        }
      }
    
      /** Causes teardown to execute. */
      public final void runTearDown() {
        List<Throwable> exceptions = new ArrayList<>();
        List<TearDown> stackCopy;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 21 10:19:29 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/TearDownStack.java

      }
    
      public TearDownStack(boolean suppressThrows) {
        this.suppressThrows = suppressThrows;
      }
    
      @Override
      public final void addTearDown(TearDown tearDown) {
        synchronized (lock) {
          stack.addFirst(checkNotNull(tearDown));
        }
      }
    
      /** Causes teardown to execute. */
      public final void runTearDown() {
        List<Throwable> exceptions = new ArrayList<>();
        List<TearDown> stackCopy;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 21 10:19:29 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/BuildableDOMCategory.groovy

            return builder.elements[0]
        }
    
        public static void leftShift(Node parent, Node node) {
            parent.appendChild(parent.ownerDocument.importNode(node, true))
        }
    
        public static void addFirst(Node parent, Closure cl) {
            DomBuilder builder = new DomBuilder(parent.ownerDocument, null)
            cl.delegate = builder
            cl.call()
            def firstChild = parent.getFirstChild()
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Aug 11 15:32:19 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocConverter.java

                for (HtmlElementHandler handler : elementHandlers) {
                    if (handler.onStartElement(name, attributes)) {
                        handlerStack.addFirst(handler);
                        tagStack.addFirst(name);
                        return;
                    }
                }
                throw new UnsupportedOperationException();
            }
    
            @Override
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 29.3K bytes
    - Viewed (0)
  5. okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt

              currentTask = self
              taskRunner.condition.signalAll()
            }
          }
    
        if (strategy == ResumePriority.BeforeOtherTasks) {
          serialTaskQueue.addFirst(yieldCompleteTask)
        } else {
          serialTaskQueue.addLast(yieldCompleteTask)
        }
    
        val startedTask = startNextTask()
        val otherTasksStarted = startedTask != yieldCompleteTask
    
        try {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 29 00:33:04 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/connection/FastFallbackExchangeFinder.kt

            }
    
            val nextPlan = connectResult.nextPlan
            if (nextPlan != null) {
              // Try this plan's successor before deferred plans because it won the race!
              routePlanner.deferredPlans.addFirst(nextPlan)
            }
          }
        } finally {
          cancelInFlightConnects()
        }
    
        throw firstException!!
      }
    
      /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/Closer.java

      @CanIgnoreReturnValue
      @ParametricNullness
      public <C extends @Nullable Closeable> C register(@ParametricNullness C closeable) {
        if (closeable != null) {
          stack.addFirst(closeable);
        }
    
        return closeable;
      }
    
      /**
       * Stores the given throwable and rethrows it. It will be rethrown as is if it is an {@code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/collection/SLinkedList.java

            header.previous.remove();
            return last;
        }
    
        /**
         * 先頭に追加します。
         *
         * @param element
         *            追加するオブジェクト
         */
        public void addFirst(final E element) {
            header.next.addBefore(element);
        }
    
        /**
         * 最後に追加します。
         *
         * @param element
         *            追加するオブジェクト
         */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 11K bytes
    - Viewed (0)
  9. guava/src/com/google/common/io/Closer.java

      @CanIgnoreReturnValue
      @ParametricNullness
      public <C extends @Nullable Closeable> C register(@ParametricNullness C closeable) {
        if (closeable != null) {
          stack.addFirst(closeable);
        }
    
        return closeable;
      }
    
      /**
       * Stores the given throwable and rethrows it. It will be rethrown as is if it is an {@code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/log/Logger.java

            }
        }
    
        /**
         * {@link Logger}を初期化します。
         */
        protected static synchronized void initialize() {
            DisposableUtil.addFirst(() -> {
                initialized = false;
                loggers.clear();
                factory.releaseAll();
            });
            initialized = true;
        }
    
        /**
         * ログアダプタのファクトリを返します。
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 13.2K bytes
    - Viewed (0)
Back to top