Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 103 for Grover (0.27 sec)

  1. android/guava/src/com/google/common/collect/Multimap.java

     * }
     * }</pre>
     *
     * ... produces output such as:
     *
     * <pre>{@code
     * Zachary: [Taylor]
     * John: [Adams, Adams, Tyler, Kennedy]  // Remember, Quincy!
     * George: [Washington, Bush, Bush]
     * Grover: [Cleveland, Cleveland]        // Two, non-consecutive terms, rep'ing NJ!
     * ...
     * }</pre>
     *
     * <h3>Views</h3>
     *
     * <p>Much of the power of the multimap API comes from the <i>view collections</i> it provides.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 15.1K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

          if (n > 0) {
            count -= n;
            takeIndex = i;
          }
          return n;
        } finally {
          monitor.leave();
        }
      }
    
      /**
       * Returns an iterator over the elements in this queue in proper sequence. The returned {@code
       * Iterator} is a "weakly consistent" iterator that will never throw {@link
       * ConcurrentModificationException}, and guarantees to traverse elements as they existed upon
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 22.5K bytes
    - Viewed (0)
  3. guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

      /**
       * Test EqualsTester with no equals or not equals objects. This checks proper handling of null,
       * incompatible class and reflexive tests
       */
      public void testTestEqualsEmptyLists() {
        equalsTester.addEqualityGroup(reference);
        equalsTester.testEquals();
      }
    
      /**
       * Test EqualsTester after populating equalObjects. This checks proper handling of equality and
       * verifies hashCode for valid objects
       */
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 15:49:06 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/testing/SerializableTester.java

    /**
     * Tests serialization and deserialization of an object, optionally asserting that the resulting
     * object is equal to the original.
     *
     * <p><b>GWT warning:</b> Under GWT, both methods simply returns their input, as proper GWT
     * serialization tests require more setup. This no-op behavior allows test authors to intersperse
     * {@code SerializableTester} calls with other, GWT-compatible tests.
     *
     * @author Mike Bostock
     * @since 10.0
     */
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Apr 25 11:57:12 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/testing/TearDownAccepter.java

     * @since 10.0
     */
    @DoNotMock("Implement with a lambda")
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public interface TearDownAccepter {
      /**
       * Registers a TearDown implementor which will be run after the test proper.
       *
       * <p>In JUnit4 language, that means as an {@code @After}.
       *
       * <p>In JUnit3 language, that means during the {@link junit.framework.TestCase#tearDown()} step.
       */
      void addTearDown(TearDown tearDown);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 19:22:18 GMT 2023
    - 1.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

                .add("in", "the", "quick", "jumped", "over", "a")
                .build();
        assertThat(set).containsExactly("a", "in", "the", "over", "quick", "jumped").inOrder();
      }
    
      public void testExplicit_ordering_dupes() {
        SortedSet<String> set =
            ImmutableSortedSet.orderedBy(STRING_LENGTH)
                .add("in", "the", "quick", "brown", "fox", "jumped", "over", "a", "lazy", "dog")
                .build();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 46.1K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/AbstractCollectionTester.java

        return collection;
      }
    
      /** @see AbstractContainerTester#resetContainer() */
      protected void resetCollection() {
        resetContainer();
      }
    
      /** @return an array of the proper size with {@code null} inserted into the middle element. */
      protected E[] createArrayWithNullElement() {
        E[] array = createSamplesArray();
        array[getNullLocation()] = null;
        return array;
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/hash/Murmur3Hash32Test.java

        assertHash(1935035788, murmur3_32().hashUnencodedChars("http://www.google.com/"));
        assertHash(
            -528633700, murmur3_32().hashUnencodedChars("The quick brown fox jumps over the lazy dog"));
      }
    
      @SuppressWarnings("deprecation")
      public void testKnownEncodedStringInputs() {
        assertStringHash(0, "", Charsets.UTF_8);
        assertStringHash(0xcfbda5d1, "k", Charsets.UTF_8);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 08 13:56:22 GMT 2021
    - 8.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ImmutableListCopyOfConcurrentlyModifiedInputTest.java

        assertTrue(concurrentlyMutatedList.getAllStates().contains(copyOfIterable));
      }
    
      private static void runConcurrentlyMutatedTest(WrapWithIterable wrap) {
        /*
         * TODO: Iterate over many array sizes and all possible operation lists,
         * performing adds and removes in different ways.
         */
        runConcurrentlyMutatedTest(elements(), ops(add(1), add(2)), wrap);
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java

     * test methods in these degenerate classloaders.
     */
    
    public class AbstractFutureFallbackAtomicHelperTest extends TestCase {
    
      // stash these in static fields to avoid loading them over and over again (speeds up test
      // execution significantly)
    
      /**
       * This classloader disallows {@link sun.misc.Unsafe}, which will prevent us from selecting our
       * preferred strategy {@code UnsafeAtomicHelper}.
       */
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 16 03:24:50 GMT 2021
    - 6.2K bytes
    - Viewed (0)
Back to top