- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for EXAMPLE (0.12 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt
} /** * Returns a string with containing this URL with its username, password, query, and fragment * stripped, and its path replaced with `/...`. For example, redacting * `http://username:password@example.com/path` returns `http://example.com/...`. */ fun redact(): String = newBuilder("/...")!! .username("") .password("") .build() .toString() /**
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 63.5K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/CacheBuilder.java
* </ul> * * <p>These features are all optional; caches can be created using all or none of them. By default, * cache instances created by {@code CacheBuilder} will not perform any type of eviction. * * <p>Usage example: * * {@snippet : * LoadingCache<Key, Graph> graphs = CacheBuilder.newBuilder() * .maximumSize(10000) * .expireAfterWrite(Duration.ofMinutes(10)) * .removalListener(MY_LISTENER) * .build(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 51.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Sets.java
* Creates an empty {@code Set} that uses identity to determine equality. It compares object * references, instead of calling {@code equals}, to determine whether a provided object matches * an element in the set. For example, {@code contains} returns {@code false} when passed an * object that equals a set member, but isn't the same instance. This behavior is similar to the * way {@code IdentityHashMap} handles key lookups. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 81.6K bytes - Viewed (0) -
android/guava/src/com/google/common/base/CharMatcher.java
* supplementary code points, use ICU4J UCharacter and UnicodeSet (freeze() after building). For * basic text processing based on UnicodeSet use the ICU4J UnicodeSetSpanner. * * <p>Example usages: * * <pre> * String trimmed = {@link #whitespace() whitespace()}.{@link #trimFrom trimFrom}(userInput); * if ({@link #ascii() ascii()}.{@link #matchesAllOf matchesAllOf}(s)) { ... }</pre> *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 53.9K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Futures.java
* if the primary input succeeds, it is never invoked. If, during the invocation of {@code * fallback}, an exception is thrown, this exception is used as the result of the output {@code * Future}. * * <p>Usage example: * * {@snippet : * ListenableFuture<Integer> fetchCounterFuture = ...; * * // Falling back to a zero counter in case an exception happens when * // processing the RPC to fetch counters.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 64.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Multimaps.java
* specified supplier. The keys and values of the entries are the result of applying the provided * mapping functions to the input elements, accumulated in the encounter order of the stream. * * <p>Example: * * {@snippet : * static final ListMultimap<Character, String> FIRST_LETTER_MULTIMAP = * Stream.of("banana", "apple", "carrot", "asparagus", "cherry") * .collect( * toMultimap(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 86.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/Multimaps.java
* specified supplier. The keys and values of the entries are the result of applying the provided * mapping functions to the input elements, accumulated in the encounter order of the stream. * * <p>Example: * * {@snippet : * static final ListMultimap<Character, String> FIRST_LETTER_MULTIMAP = * Stream.of("banana", "apple", "carrot", "asparagus", "cherry") * .collect( * toMultimap(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 86.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Iterators.java
checkNotNull(input); } return concat(consumingForArray(inputs)); } /** * Divides an iterator into unmodifiable sublists of the given size (the final list may be * smaller). For example, partitioning an iterator containing {@code [a, b, c, d, e]} with a * partition size of 3 yields {@code [[a, b, c], [d, e]]} -- an outer iterator containing two * inner lists of three and two elements, all in the original order.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 50.5K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt
assertThat( parse("http://example.com") .newBuilder() .scheme("https") .build() .port, ).isEqualTo(443) assertThat( parse("https://example.com") .newBuilder() .scheme("http") .build() .port, ).isEqualTo(80) assertThat( parse("https://example.com:1234") .newBuilder()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Aug 04 07:38:48 UTC 2025 - 69.9K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt
* add configuration to the derived client for a specific purpose. * * This example shows the single instance with default configurations. * * ```java * public final OkHttpClient client = new OkHttpClient.Builder() * .readTimeout(1000, TimeUnit.MILLISECONDS) * .writeTimeout(1000, TimeUnit.MILLISECONDS) * .build(); * ``` * * This example shows a call with a short 500 millisecond read timeout and a 1000 millisecond
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 51.7K bytes - Viewed (0)