Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for comparable (0.05 sec)

  1. guava/src/com/google/common/collect/TopKSelector.java

       * ascending order.
       *
       * @throws IllegalArgumentException if {@code k < 0} or {@code k > Integer.MAX_VALUE / 2}
       */
      public static <T extends Comparable<? super T>> TopKSelector<T> least(int k) {
        return least(k, Ordering.natural());
      }
    
      /**
       * Returns a {@code TopKSelector} that collects the lowest {@code k} elements added to it,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 31 13:15:26 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertEquals(Integer.class, f.resolveType(Function.class.getTypeParameters()[1]).getType());
        assertEquals(Long.class, f.resolveType(Iterable.class.getTypeParameters()[0]).getType());
      }
    
      public <E extends Comparable<Iterable<String>> & Iterable<Integer>>
          void testResolveType_fromTypeVariable_onlyDirectBoundsAreUsed() {
        TypeToken<?> e = TypeToken.of(new TypeCapture<E>() {}.capture());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Sep 02 17:23:59 UTC 2025
    - 89K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertEquals(Integer.class, f.resolveType(Function.class.getTypeParameters()[1]).getType());
        assertEquals(Long.class, f.resolveType(Iterable.class.getTypeParameters()[0]).getType());
      }
    
      public <E extends Comparable<Iterable<String>> & Iterable<Integer>>
          void testResolveType_fromTypeVariable_onlyDirectBoundsAreUsed() {
        TypeToken<?> e = TypeToken.of(new TypeCapture<E>() {}.capture());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Sep 02 17:23:59 UTC 2025
    - 89K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/reflect/TypeResolver.java

            Type[] toArgs = toParameterizedType.getActualTypeArguments();
            checkArgument(
                fromArgs.length == toArgs.length,
                "%s not compatible with %s",
                fromParameterizedType,
                toParameterizedType);
            for (int i = 0; i < fromArgs.length; i++) {
              populateTypeMappings(mappings, fromArgs[i], toArgs[i]);
            }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/hash/BloomFilter.java

      @VisibleForTesting
      long bitSize() {
        return bits.bitSize();
      }
    
      /**
       * Determines whether a given Bloom filter is compatible with this Bloom filter. For two Bloom
       * filters to be compatible, they must:
       *
       * <ul>
       *   <li>not be the same instance
       *   <li>have the same number of hash functions
       *   <li>have the same bit size
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 31 13:15:26 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  6. docs/recipes.md

        ```
    
    ### Posting form parameters ([.kt][PostFormKotlin], [.java][PostFormJava])
    
    Use `FormBody.Builder` to build a request body that works like an HTML `<form>` tag. Names and values will be encoded using an HTML-compatible form URL encoding.
    
    === ":material-language-kotlin: Kotlin"
        ```kotlin
          private val client = OkHttpClient()
    
          fun run() {
            val formBody = FormBody.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)
  7. guava-gwt/pom.xml

      <parent>
        <groupId>com.google.guava</groupId>
        <artifactId>guava-parent</artifactId>
        <version>999.0.0-HEAD-jre-SNAPSHOT</version>
      </parent>
      <artifactId>guava-gwt</artifactId>
      <name>Guava GWT compatible libs</name>
      <description>
        Guava is a suite of core and expanded libraries that include
        utility classes, Google's collections, I/O classes, and
        much more.
    
        This project includes GWT-friendly sources.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Sep 04 21:35:58 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/reflect/TypeResolver.java

            Type[] toArgs = toParameterizedType.getActualTypeArguments();
            checkArgument(
                fromArgs.length == toArgs.length,
                "%s not compatible with %s",
                fromParameterizedType,
                toParameterizedType);
            for (int i = 0; i < fromArgs.length; i++) {
              populateTypeMappings(mappings, fromArgs[i], toArgs[i]);
            }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 24.2K bytes
    - Viewed (0)
Back to top