Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 94 for choice (0.18 sec)

  1. guava-tests/test/com/google/common/base/AndroidIncompatible.java

     * annotated with LargeTest.
     *
     * <p>Why use a custom annotation instead of {@code android.test.suitebuilder.annotation.Suppress}?
     * I'm not completely sure that this is the right choice, but it has various advantages:
     *
     * <ul>
     *   <li>An annotation named just "Suppress" might someday be treated by a non-Android tool as a
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Jul 07 15:40:13 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/reflect/Reflection.java

       * 12.4.2</a>.
       *
       * <p>WARNING: Normally it's a smell if a class needs to be explicitly initialized, because static
       * state hurts system maintainability and testability. In cases when you have no choice while
       * interoperating with a legacy framework, this method helps to keep the code less ugly.
       *
       * @throws ExceptionInInitializerError if an exception is thrown during initialization of a class
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 3.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/SynchronizedSetTest.java

     */
    public class SynchronizedSetTest extends TestCase {
    
      public static final Object MUTEX = new Integer(1); // something Serializable
    
      // TODO(cpovirk): Resolve difference between branches in their choice of mutex:
      // - The mainline uses `null` (even since the change in cl/99720576 was integrated).
      // - The backport continued to use MUTEX.
      public static Test suite() {
        return SetTestSuiteBuilder.using(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 11:19:47 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/base/AndroidIncompatible.java

     * annotated with LargeTest.
     *
     * <p>Why use a custom annotation instead of {@code android.test.suitebuilder.annotation.Suppress}?
     * I'm not completely sure that this is the right choice, but it has various advantages:
     *
     * <ul>
     *   <li>An annotation named just "Suppress" might someday be treated by a non-Android tool as a
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Jul 07 15:40:13 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/SortedLists.java

       * making this call. If it is not sorted, the results are undefined.
       *
       * <p>If there are elements in the list which compare as equal to the key, the choice of {@link
       * KeyPresentBehavior} decides which index is returned. If no elements compare as equal to the
       * key, the choice of {@link KeyAbsentBehavior} decides which index is returned.
       *
       * <p>This method runs in log(n) time on random-access lists, which offer near-constant-time
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/eventbus/AsyncEventBus.java

     * the License.
     */
    
    package com.google.common.eventbus;
    
    import java.util.concurrent.Executor;
    
    /**
     * An {@link EventBus} that takes the Executor of your choice and uses it to dispatch events,
     * allowing dispatch to occur asynchronously.
     *
     * @author Cliff Biffle
     * @since 10.0
     */
    @ElementTypesAreNonnullByDefault
    public class AsyncEventBus extends EventBus {
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Apr 22 13:05:46 GMT 2021
    - 2.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/SynchronizedSetTest.java

     */
    public class SynchronizedSetTest extends TestCase {
    
      public static final Object MUTEX = new Integer(1); // something Serializable
    
      // TODO(cpovirk): Resolve difference between branches in their choice of mutex:
      // - The mainline uses `null` (even since the change in cl/99720576 was integrated).
      // - The backport continued to use MUTEX.
      public static Test suite() {
        return SetTestSuiteBuilder.using(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 17 11:19:47 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/graph/AbstractGraphTest.java

        Set<EndpointPair<Integer>> n1IncidentEdges = graph.incidentEdges(N1);
        Set<EndpointPair<Integer>> n2IncidentEdges = graph.incidentEdges(N2);
        assertThat(graphAsMutableGraph.removeNode(N1)).isTrue();
    
        // The choice of the size() method to call here is arbitrary.  We assume that if any of the Set
        // methods executes the validation check, they all will, and thus we only need to test one of
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 16.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/Optional.java

      public abstract boolean equals(@CheckForNull Object object);
    
      /**
       * Returns a hash code for this instance.
       *
       * <p><b>Comparison to {@code java.util.Optional}:</b> this class leaves the specific choice of
       * hash code unspecified, unlike the Java 8+ equivalent.
       */
      @Override
      public abstract int hashCode();
    
      /**
       * Returns a string representation for this instance.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    the ground as she spoke; `either you or your head must be off,
    and that in about half no time!  Take your choice!'
    
      The Duchess took her choice, and was gone in a moment.
    
      `Let's go on with the game,' the Queen said to Alice; and Alice
    was too much frightened to say a word, but slowly followed her
    back to the croquet-ground.
    
      The other guests had taken advantage of the Queen's absence,
    Plain Text
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 29 21:35:03 GMT 2012
    - 145.2K bytes
    - Viewed (0)
Back to top