Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for Gomes (0.48 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

          }
          if (lhs == null) {
            // lhs (null) comes just before justAfterNull.
            // If rhs is b, lhs comes first.
            if (rhs.equals(justAfterNull)) {
              return -1;
            }
            return justAfterNull.compareTo(rhs);
          }
          if (rhs == null) {
            // rhs (null) comes just before justAfterNull.
            // If lhs is b, rhs comes first.
            if (lhs.equals(justAfterNull)) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 17.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/graph/AbstractValueGraph.java

      private static <N, V> Map<EndpointPair<N>, V> edgeValueMap(final ValueGraph<N, V> graph) {
        return Maps.asMap(
            graph.edges(),
            edge ->
                // requireNonNull is safe because the endpoint pair comes from the graph.
                requireNonNull(graph.edgeValueOrDefault(edge.nodeU(), edge.nodeV(), null)));
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 17 13:59:28 GMT 2023
    - 4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/UncheckedExecutionException.java

    import javax.annotation.CheckForNull;
    
    /**
     * Unchecked variant of {@link java.util.concurrent.ExecutionException}. As with {@code
     * ExecutionException}, the exception's {@linkplain #getCause() cause} comes from a failed task,
     * possibly run in another thread.
     *
     * <p>{@code UncheckedExecutionException} is intended as an alternative to {@code
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 07 17:52:19 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/graph/Graphs.java

        }
        for (N node : subgraph.nodes()) {
          for (N successorNode : graph.successors(node)) {
            if (subgraph.nodes().contains(successorNode)) {
              // requireNonNull is safe because the endpoint pair comes from the graph.
              subgraph.putEdgeValue(
                  node,
                  successorNode,
                  requireNonNull(graph.edgeValueOrDefault(node, successorNode, null)));
            }
          }
        }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.2K bytes
    - Viewed (0)
  5. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

        @CanIgnoreReturnValue // pushed down from class to method
        @Override
        public E next() {
          if (cursor >= array.length) throw new NoSuchElementException();
          lastRet = cursor;
    
          // array comes from q.toArray() and so should have only E's in it
          @SuppressWarnings("unchecked")
          E e = (E) array[cursor++];
          return e;
        }
    
        @Override
        public void remove() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 19.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Iterators.java

      }
    
      /**
       * Calls {@code next()} on {@code iterator}, either {@code numberToAdvance} times or until {@code
       * hasNext()} returns {@code false}, whichever comes first.
       *
       * @return the number of elements the iterator was advanced
       * @since 13.0 (since 3.0 as {@code Iterators.skip})
       */
      @CanIgnoreReturnValue
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 51.1K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        limiter.acquire();
        limiter.acquire();
        limiter.acquire();
        limiter.acquire();
        limiter.acquire();
        assertEvents(
            "R0.00", // First comes the saved-up burst, which defaults to a 1-second burst (2 requests).
            "R0.00", "R0.00", // Now comes the free request.
            "R0.50", // Now it's 0.5 seconds per request.
            "R0.50");
    
        limiter.setRate(Double.POSITIVE_INFINITY);
        limiter.acquire();
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/base/AndroidIncompatible.java

     *       testlib), but why bother?
     *   <li>Stripping code entirely might help us keep under the method limit someday. Even if it never
     *       comes to that, it may at least help with build and startup times.
     * </ul>
     */
    @Retention(CLASS)
    @Target({ANNOTATION_TYPE, CONSTRUCTOR, FIELD, METHOD, TYPE})
    @GwtCompatible
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Jul 07 15:40:13 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/NullnessCasts.java

       * ParametricNullness parametric nullness}. Sometimes, code may receive a null {@code T} but store
       * a "null sentinel" to take its place. When the time comes to convert it back to a {@code T} to
       * return to a caller, the code needs to a way to return {@code null} from a method that returns
       * "plain {@code T}." This API provides that.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 10 20:36:34 GMT 2022
    - 3.9K bytes
    - Viewed (0)
  10. CONTRIBUTING.md

    How to contribute
    =================
    
    Thank you so much for wanting to contribute to Guava! Here are a few important
    things you should know about contributing:
    
    1.  API changes require discussion, use cases, etc. Code comes later.
    2.  Pull requests are great for small fixes for bugs, documentation, etc.
    3.  Pull requests are not merged directly into the master branch.
    4.  Code contributions require signing a Google CLA.
    
    API changes
    -----------
    
    Plain Text
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Nov 17 18:47:47 GMT 2023
    - 3.7K bytes
    - Viewed (0)
Back to top