Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 176 for similar (0.04 sec)

  1. android/guava/src/com/google/common/collect/FluentIterable.java

    import java.util.SortedSet;
    import java.util.stream.Stream;
    import org.jspecify.annotations.NonNull;
    import org.jspecify.annotations.Nullable;
    
    /**
     * An expanded {@code Iterable} API, providing functionality similar to Java 8's powerful <a href=
     * "https://docs.oracle.com/javase/8/docs/api/java/util/stream/package-summary.html#package.description"
     * >streams library</a> in a slightly different way.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/AbstractFutureState.java

      //   timeout is small we shouldn't park(). This needs to be traded off with the cpu overhead of
      //   spinning, so we use SPIN_THRESHOLD_NANOS which is what AbstractQueuedSynchronizer uses for
      //   similar purposes.
      // * We want to behave reasonably for timeouts of 0
      // * We are more responsive to completion than timeouts. This is because parkNanos depends on
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 34.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/hash/LittleEndianByteArray.java

        assert input.length >= offset + 8;
        // Delegates to the fast (unsafe) version or the fallback.
        return byteArray.getLongLittleEndian(input, offset);
      }
    
      /**
       * Similar to load64, but allows offset + 8 > input.length, padding the result with zeroes. This
       * has to explicitly reverse the order of the bytes as it packs them into the result which makes
       * it slower than the native version.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 03:49:18 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java

         *
         * https://github.com/google/guava/issues/2254
         *
         * Other kinds of Errors are possible:
         *
         * - OutOfMemoryError from allocations in setFuture(): The calculus here is similar to
         * StackOverflowError: We can't reliably call setException(error).
         *
         * - Any kind of Error from a listener. Even if we could distinguish that case (by exposing some
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 20 18:03:37 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/FluentIterable.java

     *
     * <p>Several lesser-used features are currently available only as static methods on the {@link
     * Iterables} class.
     *
     * <p><a id="streams"></a>
     *
     * <h3>Comparison to streams</h3>
     *
     * <p>{@link Stream} is similar to this class, but generally more powerful, and certainly more
     * standard. Key differences include:
     *
     * <ul>
     *   <li>A stream is <i>single-use</i>; it becomes invalid as soon as any "terminal operation" such
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 34.8K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/Multimap.java

    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.Set;
    import java.util.function.BiConsumer;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A collection that maps keys to values, similar to {@link Map}, but in which each key may be
     * associated with <i>multiple</i> values. You can visualize the contents of a multimap either as a
     * map from keys to <i>nonempty</i> collections of values:
     *
     * <ul>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/graph/DirectedGraphConnections.java

          checkPositive(++successorCount);
    
          if (orderedNodeConnections != null) {
            orderedNodeConnections.add(new NodeConnection.Succ<>(node));
          }
        }
    
        // See the comment on the similar cast in removeSuccessor.
        return previousSuccessor == null ? null : (V) previousSuccessor;
      }
    
      private static boolean isPredecessor(@Nullable Object value) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/TreeTraverser.java

     *     their equivalent on the result of {@code Traverser.forTree(tree)} where {@code tree}
     *     implements {@code SuccessorsFunction}, which has a similar API as {@link #children} or can be
     *     the same lambda function as passed into {@link #using(Function)}.
     *     <p>This class is scheduled to be removed in October 2019.
     */
    // TODO(b/68134636): Remove by 2019-10
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt

     * [close()][Response.close] for you.
     *
     * ```java
     * Call call = client.newCall(request);
     * try (Response response = call.execute()) {
     * ... // Use the response.
     * }
     * ```
     *
     * You can use a similar block for asynchronous calls:
     *
     * ```java
     * Call call = client.newCall(request);
     * call.enqueue(new Callback() {
     *   public void onResponse(Call call, Response response) throws IOException {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:51:25 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/MapMaker.java

     *     .weakKeys()
     *     .makeMap();
     * }
     *
     * <p>These features are all optional; {@code new MapMaker().makeMap()} returns a valid concurrent
     * map that behaves similarly to a {@link ConcurrentHashMap}.
     *
     * <p>The returned map is implemented as a hash table with similar performance characteristics to
     * {@link ConcurrentHashMap}. It supports all optional operations of the {@code ConcurrentMap}
     * interface. It does not permit null keys or values.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
Back to top