Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 146 for chaining (0.06 sec)

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

          boolean isPossibleChainingCall = interfaceType.isAssignableFrom(method.getReturnType());
          try {
            Object actualReturnValue = method.invoke(wrapper, passedArgs);
            // If we think this might be a 'chaining' call then we allow the return value to either
            // be the wrapper or the returnValue.
            if (!isPossibleChainingCall || wrapper != actualReturnValue) {
              assertEquals(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Ordering.java

     *       directly
     *   <li>Pass a <i>pre-existing</i> {@link Comparator} instance to {@link #from(Comparator)}
     *   <li>Use the natural ordering, {@link Ordering#natural}
     * </ul>
     *
     * <h4>Chaining</h4>
     *
     * <p>Then you can use the <i>chaining</i> methods to get an altered version of that {@code
     * Ordering}, including:
     *
     * <ul>
     *   <li>{@link #reverse}
     *   <li>{@link #compound(Comparator)}
     *   <li>{@link #onResultOf(Function)}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  3. android/guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java

        } catch (AssertionFailedError expected) {
          return;
        }
        fail("Should have failed");
      }
    
      /** An interface for the 2 ways that a chaining call might be defined. */
      private interface ChainingCalls {
        // A method that is defined to 'return this'
        @CanIgnoreReturnValue
        ChainingCalls chainingCall();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 15.7K bytes
    - Viewed (0)
  4. futures/listenablefuture1/src/com/google/common/util/concurrent/ListenableFuture.java

     * Examples of frameworks include:
     *
     * <ul>
     *   <li><a href="https://dagger.dev/producers.html">Dagger Producers</a>
     * </ul>
     *
     * <p>The main purpose of {@link #addListener addListener} is to support this chaining. You will
     * rarely use it directly, in part because it does not provide direct access to the {@code Future}
     * result. (If you want such access, you may prefer {@link Futures#addCallback
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jun 26 21:13:41 UTC 2023
    - 8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/ListenableFuture.java

     * Examples of frameworks include:
     *
     * <ul>
     *   <li><a href="https://dagger.dev/producers.html">Dagger Producers</a>
     * </ul>
     *
     * <p>The main purpose of {@link #addListener addListener} is to support this chaining. You will
     * rarely use it directly, in part because it does not provide direct access to the {@code Future}
     * result. (If you want such access, you may prefer {@link Futures#addCallback
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jun 26 21:13:41 UTC 2023
    - 8K bytes
    - Viewed (0)
  6. guava/src/com/google/common/net/HostAndPort.java

       * perform actual validation of IP addresses, see the {@link InetAddresses#forString(String)}
       * method.
       *
       * @return {@code this}, to enable chaining of calls.
       * @throws IllegalArgumentException if bracketless IPv6 is detected.
       */
      @CanIgnoreReturnValue
      public HostAndPort requireBracketsForIPv6() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 22:02:22 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

         *            the mid to set
         */
        @Override
        public final void setMid ( long mid ) {
            this.mid = mid;
        }
    
    
        /**
         * @param n
         * @return whether chaining was successful
         */
        public boolean chain ( ServerMessageBlock2 n ) {
            if ( this.next != null ) {
                return this.next.chain(n);
            }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Sep 30 10:47:31 UTC 2018
    - 19.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/FluentFuture.java

     *         .transform(ActivityService::isLoggedIn, threadPool)
     *         .catching(RpcException.class, e -> false, directExecutor());
     * }</pre>
     *
     * <h3>Alternatives</h3>
     *
     * <h4>Frameworks</h4>
     *
     * <p>When chaining together a graph of asynchronous operations, you will often find it easier to
     * use a framework. Frameworks automate the process, often adding features like monitoring,
     * debugging, and cancellation. Examples of frameworks include:
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/FluentIterable.java

     * >streams library</a> in a slightly different way.
     *
     * <p>The following types of methods are provided:
     *
     * <ul>
     *   <li>chaining methods which return a new {@code FluentIterable} based in some way on the
     *       contents of the current one (for example {@link #transform})
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 24 13:42:31 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  10. docs/changelogs/changelog_4x.md

        to the uncaught exception handler for reporting and recovery.
    
     *  Fix: Un-deprecate `MockResponse.setHeaders()` and other setters. These were deprecated in OkHttp
        4.0 but that broke method chaining for Java callers.
    
     *  Fix: Don't crash on HTTP/2 HEAD requests when the `Content-Length` header is present but is not
        consistent with the length of the response body.
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 17 13:25:31 UTC 2024
    - 25.2K bytes
    - Viewed (0)
Back to top