Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 146 for combiner (0.03 sec)

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

        checkNonnegative(k, "k");
        checkNotNull(comparator);
        return Collector.of(
            () -> TopKSelector.<T>least(k, comparator),
            TopKSelector::offer,
            TopKSelector::combine,
            TopKSelector::topK,
            Collector.Characteristics.UNORDERED);
      }
    
      /**
       * Returns a {@code Collector} that returns the {@code k} greatest (relative to the specified
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  2. futures/failureaccess/pom.xml

        Guava (just as they can use ListenableFuture by depending on the
        listenablefuture artifact).
      </description>
      <build>
        <plugins>
          <plugin>
            <artifactId>maven-compiler-plugin</artifactId>
            <executions>
              <execution>
                <id>default-compile</id>
                <goals>
                  <goal>compile</goal>
                </goals>
                <configuration>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 18:13:11 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableListMultimap.java

          super.putAll(multimap);
          return this;
        }
    
        @CanIgnoreReturnValue
        @Override
        Builder<K, V> combine(ImmutableMultimap.Builder<K, V> other) {
          super.combine(other);
          return this;
        }
    
        /**
         * {@inheritDoc}
         *
         * @since 8.0
         */
        @CanIgnoreReturnValue
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Platform.java

      }
    
      static boolean patternCompilerIsPcreLike() {
        return patternCompiler.isPcreLike();
      }
    
      private static PatternCompiler loadPatternCompiler() {
        // We want the JDK Pattern compiler:
        // - under Android (where it hurts startup performance)
        // - even for the JVM in our open-source release (https://github.com/google/guava/issues/3147)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  5. okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt

              if (nanoTime >= waitUntil) return@withLock null
              val editCountBefore = editCount
              yieldUntil { nanoTime >= waitUntil || editCount > editCountBefore }
            }
            // TODO report compiler bug
            TODO("Can't get here")
          }
        }
    
        override fun put(element: T) {
          taskRunner.withLock {
            delegate.put(element)
            editCount++
          }
        }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableSetMultimap.java

            putAll(entry.getKey(), entry.getValue());
          }
          return this;
        }
    
        @CanIgnoreReturnValue
        @Override
        Builder<K, V> combine(ImmutableMultimap.Builder<K, V> other) {
          super.combine(other);
          return this;
        }
    
        /**
         * {@inheritDoc}
         *
         * @since 8.0
         */
        @CanIgnoreReturnValue
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.8K bytes
    - Viewed (0)
  7. gradle/libs.versions.toml

    #noinspection UnusedVersionCatalogEntry
    signature-android-apilevel24 = "net.sf.androidscents.signature:android-api-level-24:7.0_r2"
    squareup-moshi = { module = "com.squareup.moshi:moshi", version.ref = "com-squareup-moshi" }
    squareup-moshi-compiler = { module = "com.squareup.moshi:moshi-kotlin-codegen", version.ref = "com-squareup-moshi" }
    squareup-moshi-kotlin = { module = "com.squareup.moshi:moshi-kotlin", version.ref = "com-squareup-moshi" }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Aug 31 17:41:20 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/CompactHashMap.java

      //
      // class Entry {
      //    int hash;
      //    Entry next;
      //    K key;
      //    V value;
      // }
      //
      // The imaginary `hash` and `next` values are combined into a single `int` value in the `entries`
      // array. The top bits of this value are the remaining bits of the hash value that were not used
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 35.7K bytes
    - Viewed (0)
  9. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableMap.java

          this.valueComparator = checkNotNull(valueComparator, "valueComparator");
          return this;
        }
    
        @CanIgnoreReturnValue
        Builder<K, V> combine(Builder<K, V> other) {
          checkNotNull(other);
          entries.addAll(other.entries);
          return this;
        }
    
        public ImmutableMap<K, V> build() {
          return buildOrThrow();
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ImmutableSetTest.java

        ImmutableSet.Builder<String> zis = ImmutableSet.<String>builder().add("a", "b", "a");
        ImmutableSet.Builder<String> zat = ImmutableSet.<String>builder().add("c", "b", "d", "c");
        ImmutableSet<String> set = zis.combine(zat).build();
        assertThat(set).containsExactly("a", "b", "c", "d").inOrder();
      }
    
      @Override
      <E extends Comparable<E>> Builder<E> builder() {
        return ImmutableSet.builder();
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 14.1K bytes
    - Viewed (0)
Back to top