Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 252 for pred (0.02 sec)

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

    /**
     * Tester for {@code Collector} implementations.
     *
     * <p>Example usage:
     *
     * <pre>
     * CollectorTester.of(Collectors.summingInt(Integer::parseInt))
     *     .expectCollects(3, "1", "2")
     *     .expectCollects(10, "1", "4", "3", "2")
     *     .expectCollects(5, "-3", "0", "8");
     * </pre>
     *
     * @author Louis Wasserman
     * @since 21.0 (but since 33.5.0 in the Android flavor)
     */
    @GwtCompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu May 15 21:47:56 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/lang/ClassIterator.java

     * <p>
     * Usage example:
     * </p>
     *
     * <pre>
     * import static org.codelibs.core.lang.ClassIterator.*;
     *
     * Class&lt;?&gt; someClass = ...;
     * for (Class&lt;?&gt; clazz : iterable(someClass)) {
     *     ...
     * }
     * </pre>
     * <p>
     * By default, the {@link Object} class is also included in the iteration. If you do not want to include {@link Object},
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/AbstractExecutionThreadService.java

       * to stop requests. You could poll for lifecycle changes in a work loop:
       *
       * <pre>
       *   public void run() {
       *     while ({@link #isRunning()}) {
       *       // perform a unit of work
       *     }
       *   }
       * </pre>
       *
       * <p>...or you could respond to stop requests by implementing {@link #triggerShutdown()}, which
       * should cause {@link #run()} to return.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

       *
       * <p>Suppose {@code x} is a queue known to contain only strings. The following code can be used
       * to dump the queue into a newly allocated array of {@code String}:
       *
       * <pre>
       *     String[] y = x.toArray(new String[0]);</pre>
       *
       * <p>Note that {@code toArray(new Object[0])} is identical in function to {@code toArray()}.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

     * factory classes like:
     *
     * <pre>
     * interface Book {...}
     * public class Books {
     *   public static Book hardcover(String title) {...}
     *   public static Book paperback(String title) {...}
     * }
     * </pre>
     *
     * <p>And all the created {@code Book} instances can be tested with:
     *
     * <pre>
     * new ClassSanityTester()
     *     .forAllPublicStaticMethods(Books.class)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Multimaps.java

          FilteredKeyMultimap<K, V> prev = (FilteredKeyMultimap<K, V>) unfiltered;
          return new FilteredKeyMultimap<>(
              prev.unfiltered, Predicates.<K>and(prev.keyPredicate, keyPredicate));
        } else if (unfiltered instanceof FilteredMultimap) {
          FilteredMultimap<K, V> prev = (FilteredMultimap<K, V>) unfiltered;
          return filterFiltered(prev, Maps.<K>keyPredicateOnEntries(keyPredicate));
        } else {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 86.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/Multimaps.java

          FilteredKeyMultimap<K, V> prev = (FilteredKeyMultimap<K, V>) unfiltered;
          return new FilteredKeyMultimap<>(
              prev.unfiltered, Predicates.<K>and(prev.keyPredicate, keyPredicate));
        } else if (unfiltered instanceof FilteredMultimap) {
          FilteredMultimap<K, V> prev = (FilteredMultimap<K, V>) unfiltered;
          return filterFiltered(prev, Maps.<K>keyPredicateOnEntries(keyPredicate));
        } else {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 86.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/curl/io/ContentCache.java

     * If the content is cached in a file, it returns a FileInputStream. If the content is cached in memory,
     * it returns a ByteArrayInputStream.
     *
     * <p>Example usage:
     * <pre>
     * {@code
     * // In-memory caching
     * byte[] data = "example data".getBytes();
     * try (ContentCache cache = new ContentCache(data)) {
     *     InputStream inputStream = cache.getInputStream();
     *     // Read from inputStream
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat Jul 05 01:38:18 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  9. samples/guide/src/main/java/okhttp3/recipes/kt/YubikeyClientAuth.kt

            .build()
    
        // An example test URL that returns client certificate details.
        val request =
          Request
            .Builder()
            .url("https://prod.idrix.eu/secure/")
            .build()
    
        client.newCall(request).execute().use { response ->
          if (!response.isSuccessful) throw IOException("Unexpected code $response")
    
          println(response.body.string())
        }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat May 10 11:15:14 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/graph/Graphs.java

          NodeAndRemainingSuccessors<N> top = stack.removeLast();
          NodeAndRemainingSuccessors<N> prev = stack.peekLast();
          stack.addLast(top);
    
          N node = top.node;
          N previousNode = prev == null ? null : prev.node;
          if (top.remainingSuccessors == null) {
            NodeVisitState state = visitedNodes.get(node);
            if (state == NodeVisitState.COMPLETE) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Aug 01 00:26:14 UTC 2025
    - 22.7K bytes
    - Viewed (0)
Back to top