Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 134 for re (0.12 sec)

  1. CONTRIBUTING.md

    4.  Code contributions require signing a Google CLA.
    
    API changes
    -----------
    
    We make changes to Guava's public [APIs][], including adding new APIs, very
    carefully. Because of this, if you're interested in seeing a new feature in
    Guava, the best approach is to create an [issue][] (or comment on an existing
    issue if there is one) requesting the feature and describing specific use cases
    for it.
    
    Plain Text
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Nov 17 18:47:47 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/FakeTicker.java

      @IgnoreJRERequirement // TODO: b/288085449 - Remove this once we use library-desugaring scents.
      @Beta // TODO: b/288085449 - Remove @Beta after we're sure that Java 8 APIs are safe for Android
      public FakeTicker advance(Duration duration) {
        return advance(duration.toNanos());
      }
    
      /**
       * Sets the increment applied to the ticker whenever it is queried.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Mar 13 18:17:09 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

              // We're careful to put only K instances in.
              K[] sortedKs = (K[]) sortedKeys;
              Arrays.sort(sortedKs, comparator);
              Object[] sortedValues = new Object[size];
    
              // We might, somehow, be able to reorder values in-place.  But it doesn't seem like
              // there's a way around creating the separate sortedKeys array, and if we're allocating
    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)
  4. android/guava/src/com/google/common/util/concurrent/FakeTimeLimiter.java

     * desirable to use in some unit tests. More importantly, attempting to debug a call which is
     * time-limited would be extremely annoying, so this gives you a time-limiter you can easily swap in
     * for your real time-limiter while you're debugging.
     *
     * @author Kevin Bourrillion
     * @author Jens Nyman
     * @since 1.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public final class FakeTimeLimiter implements TimeLimiter {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 14 20:35:03 GMT 2023
    - 3.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Comparators.java

       * @since 33.2.0 (available since 22.0 in guava-jre)
       */
      @SuppressWarnings({"AndroidJdkLibsChecker", "Java7ApiChecker"})
      @IgnoreJRERequirement // Users will use this only if they're already using streams.
      @Beta // TODO: b/288085449 - Remove.
      public static <T extends @Nullable Object> Collector<T, ?, List<T>> least(
          int k, Comparator<? super T> comparator) {
        checkNonnegative(k, "k");
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  6. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableCollection.java

    import java.util.function.Predicate;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * GWT emulated version of {@link ImmutableCollection}.
     *
     * @author Jesse Wilson
     */
    @SuppressWarnings("serial") // we're overriding default serialization
    @ElementTypesAreNonnullByDefault
    public abstract class ImmutableCollection<E> extends AbstractCollection<E> implements Serializable {
      static final int SPLITERATOR_CHARACTERISTICS =
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 23 18:43:40 GMT 2024
    - 5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/Collections2.java

          int j = findNextJ();
          if (j == -1) {
            nextPermutation = null;
            return;
          }
          /*
           * requireNonNull is safe because we don't clear nextPermutation until we're done calling this
           * method.
           */
          requireNonNull(nextPermutation);
    
          int l = findNextL(j);
          Collections.swap(nextPermutation, j, l);
          int n = nextPermutation.size();
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Suppliers.java

    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Useful suppliers.
     *
     * <p>All methods return serializable suppliers as long as they're given serializable parameters.
     *
     * @author Laurence Gonsalves
     * @author Harry Heymann
     * @since 2.0
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public final class Suppliers {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

           * the time the listener runs for the final future -- at which point we need to check all
           * inputs for exceptions *if* we're collecting values. If we're not, then the listener doesn't
           * need access to the futures again, so we can just pass `null`.
           *
           * TODO(b/112550045): Allocating a single, cheaper listener is (I think) only an optimization.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

     * @since 2.0 (implements {@code NavigableSet} since 12.0)
     */
    // TODO(benyu): benchmark and optimize all creation paths, which are a mess now
    @GwtCompatible(serializable = true, emulated = true)
    @SuppressWarnings("serial") // we're overriding default serialization
    @ElementTypesAreNonnullByDefault
    public abstract class ImmutableSortedSet<E> extends ImmutableSet<E>
        implements NavigableSet<E>, SortedIterable<E> {
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
Back to top