Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 476 for given (0.13 sec)

  1. android/guava/src/com/google/common/util/concurrent/Monitor.java

     * Condition.signal}).
     *
     * <p>A thread is said to <i>occupy</i> a monitor if it has <i>entered</i> the monitor but not yet
     * <i>left</i>. Only one thread may occupy a given monitor at any moment. A monitor is also
     * reentrant, so a thread may enter a monitor any number of times, and then must leave the same
     * number of times. The <i>enter</i> and <i>leave</i> operations have the same synchronization
    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)
  2. guava/src/com/google/common/collect/ImmutableMultiset.java

      /**
       * Returns an immutable multiset containing the given elements, in order.
       *
       * @throws NullPointerException if any element is null
       * @since 6.0 (source-compatible since 2.0)
       */
      public static <E> ImmutableMultiset<E> of(E e1, E e2) {
        return copyFromElements(e1, e2);
      }
    
      /**
       * Returns an immutable multiset containing the given elements, in the "grouped iteration order"
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/Strings.java

      /**
       * Returns the given string if it is non-null; the empty string otherwise.
       *
       * @param string the string to test and possibly return
       * @return {@code string} itself if it is non-null; {@code ""} if it is null
       */
      public static String nullToEmpty(@CheckForNull String string) {
        return Platform.nullToEmpty(string);
      }
    
      /**
       * Returns the given string if it is nonempty; {@code null} otherwise.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Sep 17 20:47:03 GMT 2021
    - 12.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/escape/ArrayBasedUnicodeEscaper.java

    import java.util.Map;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A {@link UnicodeEscaper} that uses an array to quickly look up replacement characters for a given
     * code point. An additional safe range is provided that determines whether code points without
     * specific replacements are to be considered safe and left unescaped or should be escaped in a
     * general way.
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 8.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/package-info.java

     *       {@linkplain SetMultimap#get collection of values} associated with a given key fulfills the
     *       {@link java.util.Set} contract.
     *   <dt>{@link SortedSetMultimap}
     *   <dd>An extension of {@link SetMultimap} for which the {@linkplain SortedSetMultimap#get
     *       collection values} associated with a given key is a {@link java.util.SortedSet}.
     *   <dt>{@link BiMap}
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Jul 06 16:29:45 GMT 2023
    - 5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/math/Quantiles.java

        private ScaleAndIndex(int scale, int index) {
          checkIndex(index, scale);
          this.scale = scale;
          this.index = index;
        }
    
        /**
         * Computes the quantile value of the given dataset.
         *
         * @param dataset the dataset to do the calculation on, which must be non-empty, which will be
         *     cast to doubles (with any associated lost of precision), and which will not be mutated by
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 29.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

        }
      }
    
      /**
       * Waits up to LONG_DELAY_MS for the given thread to enter a wait state: BLOCKED, WAITING, or
       * TIMED_WAITING.
       */
      void waitForThreadToEnterWaitState(Thread thread) {
        waitForThreadToEnterWaitState(thread, LONG_DELAY_MS);
      }
    
      /**
       * Returns the number of milliseconds since time given by startNanoTime, which must have been
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 37.7K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java

      /** Returns an iterable whose iterator returns the given elements in order. */
      public static <E extends @Nullable Object> MinimalIterable<E> of(E... elements) {
        // Make sure to get an unmodifiable iterator
        return new MinimalIterable<>(Arrays.asList(elements).iterator());
      }
    
      /**
       * Returns an iterable whose iterator returns the given elements in order. The elements are copied
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/RateLimiter.java

    public abstract class RateLimiter {
      /**
       * Creates a {@code RateLimiter} with the specified stable throughput, given as "permits per
       * second" (commonly referred to as <i>QPS</i>, queries per second).
       *
       * <p>The returned {@code RateLimiter} ensures that on average no more than {@code
       * permitsPerSecond} are issued during any given second, with sustained requests being smoothly
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 18.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

            new RegularImmutableSortedSet<K>(ImmutableList.of(k1), checkNotNull(comparator)),
            ImmutableList.of(v1));
      }
    
      /**
       * Returns an immutable sorted map containing the given entries, sorted by the natural ordering of
       * their keys.
       *
       * @throws IllegalArgumentException if the two keys are equal according to their natural ordering
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
Back to top