Search Options

Results per page
Sort
Preferred Languages
Advance

Results 691 - 700 of 727 for examples (0.28 sec)

  1. android/guava-tests/test/com/google/common/collect/MultimapsTest.java

            unmodifiable.iterator(), modifiable.iterator());
      }
    
      public void testInvertFrom() {
        ImmutableMultimap<Integer, String> empty = ImmutableMultimap.of();
    
        // typical usage example - sad that ArrayListMultimap.create() won't work
        Multimap<String, Integer> multimap =
            Multimaps.invertFrom(empty, ArrayListMultimap.<String, Integer>create());
        assertTrue(multimap.isEmpty());
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/TreeMultiset.java

       * {@code ClassCastException} for any elements {@code e1} and {@code e2} in the multiset. If the
       * user attempts to add an element to the multiset that violates this constraint (for example, the
       * user attempts to add a string element to a set whose elements are integers), the {@code
       * add(Object)} call will throw a {@code ClassCastException}.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Dec 09 15:58:48 UTC 2025
    - 34.3K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt

        TestValueFactory().use { factory ->
          val address = factory.newAddress("a")
          val route = factory.newRoute(address)
          val pool = factory.newConnectionPool()
          val url = "https://example.com/".toHttpUrl()
          val request = Request(url = url)
          val response =
            Response
              .Builder()
              .request(request)
              .protocol(Protocol.HTTP_1_1)
              .code(200)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Nov 05 18:28:35 UTC 2025
    - 70.5K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractorTest.java

        // (TikaExtractor) getContainer().getComponent(
        // "tikaExtractorForPdfPassword");
        // Map<String, String> params = new HashMap<String, String>();
        // params.put(ExtractData.URL, "http://example.com/test_pass.pdf");
        // ExtractData extractData = extractor.getText(in, params);
        // String content = extractData.getContent();
        // CloseableUtil.closeQuietly(in);
        // logger.info(content);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 30.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

     * shared state without additional synchronization necessary for visibility to later executions of
     * the life cycle methods.
     *
     * <h3>Usage Example</h3>
     *
     * <p>Here is a sketch of a service which crawls a website and uses the scheduling capabilities to
     * rate limit itself.
     *
     * {@snippet :
     * class CrawlingService extends AbstractScheduledService {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 27.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java

        return new Builder<>(Ordering.natural());
      }
    
      /**
       * A builder for creating immutable multiset instances, especially {@code public static final}
       * multisets ("constant multisets"). Example:
       *
       * {@snippet :
       * public static final ImmutableSortedMultiset<Bean> BEANS =
       *     new ImmutableSortedMultiset.Builder<Bean>(colorComparator())
       *         .addCopies(Bean.COCOA, 4)
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 35.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/netbios/NbtAddress.java

         * created and what is required of it. The second degree of state is the
         * most common. This is the state information that would be retrieved from
         * WINS for example. Natrually it is not practical for every NbtAddress
         * to be populated will all state requiring a Node Status on every host
         * encountered. The below methods allow state to be populated when requested
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbSessionImpl.java

                             * actually shutdown the connection before other threads
                             * have committed themselves (e.g. InterruptTest example).
                             */
                            try {
                                trans.disconnect(true);
                            } catch (Exception e) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
  9. CHANGELOG.md

        This feature may be used with `POST` requests to cache their responses. In such cases the
        request body is not used to determine the cache key, so you must manually add cache-relevant
        data to the override URL. For example, you could add a `request-body-sha256` query parameter so
        requests with the same POST data get the same cache entry.
    
     *  New: `HttpLoggingInterceptor.redactQueryParams()` configures the query parameters to redact
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 05 16:02:59 UTC 2025
    - 36.2K bytes
    - Viewed (2)
  10. android/guava/src/com/google/common/net/HttpHeaders.java

      /**
       * The HTTP <a href="https://github.com/WICG/nav-speculation/blob/main/opt-in.md">{@code
       * Supports-Loading-Mode}</a> header field name. This can be used to specify, for example, <a
       * href="https://developer.chrome.com/docs/privacy-sandbox/fenced-frame/#server-opt-in">fenced
       * frames</a>.
       *
       * @since 32.0.0
       */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Mar 27 20:37:16 UTC 2025
    - 35.4K bytes
    - Viewed (0)
Back to top