Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 114 for whenever (0.68 sec)

  1. guava/src/com/google/common/base/Function.java

     * needed, use {@code function::apply}.
     *
     * <p>This interface is now a legacy type. Use {@code java.util.function.Function} (or the
     * appropriate primitive specialization such as {@code ToIntFunction}) instead whenever possible.
     * Otherwise, at least reduce <i>explicit</i> dependencies on this type by using lambda expressions
     * or method references instead of classes, leaving your code easier to migrate in the future.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Apr 15 22:14:00 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/LockHeldAssertingSet.java

    import java.util.Collection;
    import java.util.Set;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * {@link Set} implementation that asserts that a given lock is held whenever one of its methods is
     * called.
     */
    @NullUnmarked
    class LockHeldAssertingSet<E> extends ForwardingSet<E> implements Serializable {
      final Set<E> delegate;
      final Object mutex;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/LockHeldAssertingSet.java

    import java.util.Spliterator;
    import java.util.stream.Stream;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * {@link Set} implementation that asserts that a given lock is held whenever one of its methods is
     * called.
     */
    @NullUnmarked
    class LockHeldAssertingSet<E> extends ForwardingSet<E> implements Serializable {
      final Set<E> delegate;
      final Object mutex;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/escape/Escapers.java

          this.unsafeReplacement = unsafeReplacement;
          return this;
        }
    
        /**
         * Adds a replacement string for the given input character. The specified character will be
         * replaced by the given string whenever it occurs in the input, irrespective of whether it lies
         * inside or outside the 'safe' range.
         *
         * @param c the character to be replaced
         * @param replacement the string to replace the given character
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/hash/Hashing.java

          }
        }
      }
    
      /**
       * Returns a hash code, having the same bit length as each of the input hash codes, that combines
       * the information of these hash codes in an ordered fashion. That is, whenever two equal hash
       * codes are produced by two calls to this method, it is <i>as likely as possible</i> that each
       * was computed from the <i>same</i> input hash codes in the <i>same</i> order.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 29.8K bytes
    - Viewed (0)
  6. docs/contribute/code_of_conduct.md

    Diversity Statement
    -------------------
    
    We encourage everyone to participate and are committed to building a community for all. Although we
    may not be able to satisfy everyone, we all agree that everyone is equal.
    
    Whenever a participant has made a mistake, we expect them to take responsibility for it. If someone
    has been harmed or offended, it is our responsibility to listen carefully and respectfully, and do
    our best to right the wrong.
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 5.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/Service.java

       */
      Throwable failureCause();
    
      /**
       * Registers a {@link Listener} to be {@linkplain Executor#execute executed} on the given
       * executor. The listener will have the corresponding transition method called whenever the
       * service changes state. The listener will not have previous state changes replayed, so it is
       * suggested that listeners are added before the service starts.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java

        assertThrows(IndexOutOfBoundsException.class, () -> iia3.subArray(-1, 1));
        assertThrows(IndexOutOfBoundsException.class, () -> iia3.subArray(1, 4));
      }
    
      /*
       * Whenever an implementation uses `instanceof` on a parameter instance, the test has to know that
       * (so much for "black box") and try instances that both do and don't pass the check. The "don't"
       * half of that is more awkward to arrange...
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Cut.java

      abstract @Nullable C leastValueAbove(DiscreteDomain<C> domain);
    
      abstract @Nullable C greatestValueBelow(DiscreteDomain<C> domain);
    
      /*
       * The canonical form is a BelowValue cut whenever possible, otherwise ABOVE_ALL, or
       * (only in the case of types that are unbounded below) BELOW_ALL.
       */
      Cut<C> canonical(DiscreteDomain<C> domain) {
        return this;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java

    import java.util.concurrent.ExecutionException;
    import java.util.concurrent.Executor;
    import org.jspecify.annotations.Nullable;
    
    /** Implementations of {@code Futures.transform*}. */
    @GwtCompatible
    // Whenever both tests are cheap and functional, it's faster to use &, | instead of &&, ||
    @SuppressWarnings("ShortCircuitBoolean")
    abstract class AbstractTransformFuture<
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 20 18:03:37 UTC 2025
    - 10.8K bytes
    - Viewed (0)
Back to top