- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for Prefer (0.03 sec)
-
guava/src/com/google/common/collect/TopKSelector.java
* create the {@code TopKSelector} instance. * * <p>If your input data is available as a {@link Stream}, prefer passing {@link * Comparators#least(int)} to {@link Stream#collect(java.util.stream.Collector)}. If it is available * as an {@link Iterable} or {@link Iterator}, prefer {@link Ordering#leastOf(Iterable, int)}. * * <p>This uses the same efficient implementation as {@link Ordering#leastOf(Iterable, int)},
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 31 13:15:26 UTC 2025 - 11.4K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/TypeResolver.java
* the {@code E} type variable declared by class {@code List} naturally maps to {@code String} in * the context of {@code class MyStringList implements List<String>}). In such case, prefer to use * {@link TypeToken#resolveType} since it's simpler and more type safe. This class should only be * used when the type mapping isn't implied by the static type hierarchy, but provided through other
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Sep 03 14:03:14 UTC 2025 - 24.2K bytes - Viewed (0) -
docs/recipes.md
The `string()` method on response body is convenient and efficient for small documents. But if the response body is large (greater than 1 MiB), avoid `string()` because it will load the entire document into memory. In that case, prefer to process the body as a stream. === ":material-language-kotlin: Kotlin" ```kotlin private val client = OkHttpClient() fun run() { val request = Request.Builder()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 17:01:12 UTC 2025 - 47.8K bytes - Viewed (0) -
guava/src/com/google/common/reflect/TypeResolver.java
* the {@code E} type variable declared by class {@code List} naturally maps to {@code String} in * the context of {@code class MyStringList implements List<String>}). In such case, prefer to use * {@link TypeToken#resolveType} since it's simpler and more type safe. This class should only be * used when the type mapping isn't implied by the static type hierarchy, but provided through other
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Sep 03 14:03:14 UTC 2025 - 24.2K bytes - Viewed (0) -
guava/src/com/google/common/reflect/Types.java
* * <p>TODO: b/147144588 - We are currently also missing the methods inherited from {@link * AnnotatedElement}, which {@code TypeVariable} began to extend only in Java 8. Those methods * refer only to types present under Android, so we could implement them in {@code * TypeVariableImpl} today. (We could probably then make {@code TypeVariableImpl} implement {@code
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Sep 03 14:03:14 UTC 2025 - 23.5K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/Types.java
* * <p>TODO: b/147144588 - We are currently also missing the methods inherited from {@link * AnnotatedElement}, which {@code TypeVariable} began to extend only in Java 8. Those methods * refer only to types present under Android, so we could implement them in {@code * TypeVariableImpl} today. (We could probably then make {@code TypeVariableImpl} implement {@code
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Sep 03 14:03:14 UTC 2025 - 23.6K bytes - Viewed (0)