Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 33 for comme (0.13 sec)

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

     * degrades more gracefully for worst-case input.
     *
     * <p>The implementation does not necessarily use a <i>stable</i> sorting algorithm; when multiple
     * equivalent elements are added to it, it is undefined which will come first in the output.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    final class TopKSelector<
        T extends @Nullable Object> {
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java

       * time which we translate to storedPermits. (We increase storedPermits with the amount of permits
       * that would have been produced in that idle time). So, if rate == 1 permit per second, and
       * arrivals come exactly one second after the previous, then storedPermits is _never_ increased --
       * we would only increase it for arrivals _later_ than the expected one second.
       */
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 19.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableSet.java

        return MAX_TABLE_SIZE;
      }
    
      /**
       * Default implementation of the guts of ImmutableSet.Builder, creating an open-addressed hash
       * table and deduplicating elements as they come, so it only allocates O(max(distinct,
       * expectedCapacity)) rather than O(calls to add).
       *
       * <p>This implementation attempts to detect hash flooding, and if it's identified, falls back to
       * JdkBackedSetBuilderImpl.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 35.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/CollectCollectors.java

        checkNotNull(keyFunction);
        checkNotNull(valueFunction);
        /*
         * We will always fail if there are duplicate keys, and the keys are always sorted by
         * the Comparator, so the entries can come in an arbitrary order -- so we report UNORDERED.
         */
        return Collector.of(
            () -> new ImmutableSortedMap.Builder<K, V>(comparator),
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:21:40 GMT 2024
    - 17.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/base/SplitterTest.java

      private static final Splitter COMMA_SPLITTER = Splitter.on(',');
    
      public void testSplitNullString() {
        try {
          COMMA_SPLITTER.split(null);
          fail();
        } catch (NullPointerException expected) {
        }
      }
    
      public void testCharacterSimpleSplit() {
        String simple = "a,b,c";
        Iterable<String> letters = COMMA_SPLITTER.split(simple);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 29.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Sets.java

       * SuppressWarnings("unchecked")
       * Set<String> badStrings = (Set) Sets.intersection(
       *     aFewBadObjects, manyBadStrings);
       * }</pre>
       *
       * <p>This is unfortunate, but should come up only very rarely.
       */
      public static <E extends @Nullable Object> SetView<E> intersection(
          final Set<E> set1, final Set<?> set2) {
        checkNotNull(set1, "set1");
        checkNotNull(set2, "set2");
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/ExecutionError.java

     * ExecutionException} or {@link UncheckedExecutionException}. This allows the client code to
     * continue to distinguish between exceptions and errors, even when they come from other threads.
     *
     * @author Chris Povirk
     * @since 10.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class ExecutionError extends Error {
      /*
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 07 17:52:19 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/testing/EqualsTester.java

       *
       * <p>The {@code @Nullable} annotations on the {@code equalityGroup} parameter imply that the
       * objects, and the array itself, can be null. That is for programmer convenience, when the
       * objects come from factory methods that are themselves {@code @Nullable}. In reality neither the
       * array nor its contents can be null, but it is not useful to force the use of {@code
       * requireNonNull} or the like just to assert that.
       *
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 31 19:11:50 GMT 2023
    - 6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Ordering.java

       * included.
       *
       * <p>The implementation does not necessarily use a <i>stable</i> sorting algorithm; when multiple
       * elements are equivalent, it is undefined which will come first.
       *
       * <p><b>Java 8+ users:</b> Use {@code Streams.stream(iterable).collect(Comparators.least(k,
       * thisComparator))} instead.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 39.4K bytes
    - Viewed (0)
  10. android/guava/pom.xml

                </offlineLink>
                <!-- The Checker Framework likewise would claim javax.annotations, despite providing only a subset of the JSR305 annotations, so it must likewise come after JSR305. -->
                <offlineLink>
                  <url>https://checkerframework.org/api/</url>
                  <location>${project.basedir}/javadoc-link/checker-framework</location>
                </offlineLink>
    XML
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 11 16:37:45 GMT 2024
    - 8.9K bytes
    - Viewed (0)
Back to top