Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for comme (0.15 sec)

  1. 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)
  2. android/guava/src/com/google/common/reflect/Types.java

     *
     * @author Ben Yu
     */
    @ElementTypesAreNonnullByDefault
    final class Types {
    
      /** Class#toString without the "class " and "interface " prefixes */
      private static final Joiner COMMA_JOINER = Joiner.on(", ").useForNull("null");
    
      /** Returns the array type of {@code componentType}. */
      static Type newArrayType(Type componentType) {
        if (componentType instanceof WildcardType) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/LinkedHashMultimap.java

     * removing mappings does not affect the key iteration order. However, if you remove all values
     * associated with a key and then add the key back to the multimap, that key will come last in the
     * key iteration order.
     *
     * <p>The multimap does not store duplicate key-value pairs. Adding a new key-value pair equal to an
     * existing key-value pair has no effect.
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/cache/CacheBuilderSpec.java

     *
     * <p>{@code CacheBuilderSpec} supports parsing configuration off of a string, which makes it
     * especially useful for command-line configuration of a {@code CacheBuilder}.
     *
     * <p>The string syntax is a series of comma-separated keys or key-value pairs, each corresponding
     * to a {@code CacheBuilder} method.
     *
     * <ul>
     *   <li>{@code concurrencyLevel=[integer]}: sets {@link CacheBuilder#concurrencyLevel}.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Aug 22 14:27:44 GMT 2022
    - 18.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableList.java

        return construct(e1, e2, e3, e4, e5, e6, e7, e8, e9, e10, e11);
      }
    
      // These go up to eleven. After that, you just get the varargs form, and
      // whatever warnings might come along with it. :(
    
      /**
       * Returns an immutable list containing the given elements, in order.
       *
       * <p>The array {@code others} must not be longer than {@code Integer.MAX_VALUE - 12}.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 30K bytes
    - Viewed (1)
  6. android/guava/src/com/google/common/util/concurrent/Monitor.java

      //    Imagine:
      //    guard.lock();
      //    try { /* monitor locked and guard satisfied here */ }
      //    finally { guard.unlock(); }
      // Here are Justin's design notes about this:
      //
      // This idea has come up from time to time, and I think one of my
      // earlier versions of Monitor even did something like this. I ended
      // up strongly favoring the current interface.
      //
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 18:22:01 GMT 2023
    - 38.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/math/LongMath.java

                }
              }
              return multiplyFraction(result, numerator, denominator);
            }
        }
      }
    
      /** Returns (x * numerator / denominator), which is assumed to come out to an integral value. */
      static long multiplyFraction(long x, long numerator, long denominator) {
        if (x == 1) {
          return numerator / denominator;
        }
        long commonDivisor = gcd(x, denominator);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 44.6K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java

                                VersionRange newRange = previousRange.restrict(currentRange);
                                // TODO ick. this forces the OCE that should have come from the previous call. It is still
                                // correct
                                if (newRange.isSelectedVersionKnown(previous.getArtifact())) {
                                    fireEvent(
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 36.7K bytes
    - Viewed (0)
Back to top