Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 170 for algo (0.16 sec)

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

       * <i>partial order</i> over ranges. There exists a unique {@linkplain Range#all maximal} range
       * according to this relation, and also numerous {@linkplain #isEmpty minimal} ranges. Enclosure
       * also implies {@linkplain #isConnected connectedness}.
       */
      public boolean encloses(Range<C> other) {
        return lowerBound.compareTo(other.lowerBound) <= 0
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/Functions.java

       * IllegalArgumentException} if given a key that does not exist in the map. See also {@link
       * #forMap(Map, Object)}, which returns a default value in this case.
       *
       * <p>Note: if {@code map} is a {@link com.google.common.collect.BiMap BiMap} (or can be one), you
       * can use {@link com.google.common.collect.Maps#asConverter Maps.asConverter} instead to get a
       * function that also supports reverse conversion.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableCollection.java

     *
     *   public Foo(Iterable<String> codes) {
     *     this.codes = ImmutableSet.copyOf(codes);
     *     checkArgument(Collections.disjoint(this.codes, RESERVED_CODES));
     *   }
     * }
     * }</pre>
     *
     * <h3>See also</h3>
     *
     * <p>See the Guava User Guide article on <a href=
     * "https://github.com/google/guava/wiki/ImmutableCollectionsExplained">immutable collections</a>.
     *
     * @since 2.0
     */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/MoreObjects.java

       *
       * <p><b>Note:</b> if {@code first} is represented as an {@link Optional}, this can be
       * accomplished with {@link Optional#or(Object) first.or(second)}. That approach also allows for
       * lazy evaluation of the fallback instance, using {@link Optional#or(Supplier)
       * first.or(supplier)}.
       *
       * <p><b>Java 9 users:</b> use {@code java.util.Objects.requireNonNullElse(first, second)}
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 15.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/TimeLimiter.java

      /**
       * Returns an instance of {@code interfaceType} that delegates all method calls to the {@code
       * target} object, enforcing the specified time limit on each call. This time-limited delegation
       * is also performed for calls to {@link Object#equals}, {@link Object#hashCode}, and {@link
       * Object#toString}.
       *
       * <p>If the target method call finishes before the limit is reached, the return value or
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 18:32:03 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/reflect/Types.java

       *
       * <p>Java 8 introduced a new method {@code getAnnotatedBounds()} in the {@link TypeVariable}
       * interface, whose return type {@code AnnotatedType[]} is also new in Java 8. That means that we
       * cannot implement that interface in source code in a way that will compile on both Java 7 and
       * Java 8. If we include the {@code getAnnotatedBounds()} method then its return type means it
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 17 16:33:44 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/RegularImmutableMap.java

          int n, @Nullable Object[] alternatingKeysAndValues) {
        return create(n, alternatingKeysAndValues, /* builder= */ null);
      }
    
      // This entry point is used by the other create method but also directly by
      // ImmutableMap.Builder, so that it can remember any DuplicateKey encountered and produce an
      // exception for a later buildOrThrow(). If builder is null that means that a duplicate
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 15 22:32:14 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/RateLimiter.java

         *
         * T0 at 0 seconds
         * T1 at 1.05 seconds
         * T2 at 2 seconds
         * T3 at 3 seconds
         *
         * Due to the slight delay of T1, T2 would have to sleep till 2.05 seconds, and T3 would also
         * have to sleep till 3.05 seconds.
         */
        return create(permitsPerSecond, SleepingStopwatch.createFromSystemTimer());
      }
    
      @VisibleForTesting
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 18.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/Striped.java

     * represents the task. This maximizes concurrency by having each unique key mapped to a unique
     * lock, but also maximizes memory footprint. On the other extreme, one could use a single lock for
     * all tasks, which minimizes memory footprint but also minimizes concurrency. Instead of choosing
     * either of these extremes, {@code Striped} allows the user to trade between required concurrency
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 10 20:55:18 UTC 2023
    - 20.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/hash/BloomFilterStrategies.java

       * from the implementation in MURMUR128_MITZ_32 because we're avoiding the multiplication in the
       * loop and doing a (much simpler) += hash2. We're also changing the index to a positive number by
       * AND'ing with Long.MAX_VALUE instead of flipping the bits.
       */
      MURMUR128_MITZ_64() {
        @Override
        public <T extends @Nullable Object> boolean put(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 10.7K bytes
    - Viewed (0)
Back to top